:root{color-scheme:dark;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#09090f;color:#f7f5ff}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 8% 18%,rgba(114,54,255,.22),transparent 28%),radial-gradient(circle at 88% 8%,rgba(255,103,164,.12),transparent 24%),linear-gradient(180deg,#11101a,#08080f 46%,#10031f)}body:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px);background-size:72px 72px;-webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.65),transparent 76%);mask-image:linear-gradient(180deg,rgba(0,0,0,.65),transparent 76%)}button,input,select{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.layout{display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100vh;gap:22px;padding:22px}.content-area{min-width:0}.history-panel,.card,.auth-card{border:1px solid rgba(255,255,255,.085);background:linear-gradient(180deg,#1c1c2ba8,#0e0f178a);box-shadow:inset 0 1px #ffffff0f,0 26px 80px #0000005c;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}@media (max-width: 1180px){.layout{grid-template-columns:1fr;padding:14px}}.sidebar{position:sticky;top:22px;align-self:start;min-height:calc(100vh - 44px);display:flex;flex-direction:column;padding:18px;border:1px solid rgba(255,255,255,.09);border-radius:22px;background:linear-gradient(180deg,#1e1d2d9e,#0d0d1670);box-shadow:inset 0 1px #ffffff12,0 24px 70px #00000052;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.brand{display:flex;align-items:center;gap:10px;min-height:44px;margin-bottom:28px;color:#fff;font-size:16px;font-weight:700}.brand:before{content:"";width:34px;height:34px;border-radius:50%;background:radial-gradient(circle at 70% 32%,#6c22ff 0 34%,transparent 35%),linear-gradient(135deg,#8a5cff,#3d0fb0);box-shadow:0 0 26px #7c5cff6b}.nav-links{display:grid;gap:10px}.nav-link{min-height:46px;display:flex;align-items:center;gap:12px;padding:0 13px;border:1px solid transparent;border-radius:14px;color:#ffffff9e;text-decoration:none;font-size:14px;font-weight:600;transition:.16s ease}.nav-link:before{content:"";width:8px;height:8px;border-radius:50%;background:#ffffff38}.nav-link:hover,.nav-link.active{border-color:#977dff57;background:#845bff24;color:#fff;box-shadow:inset 0 1px #ffffff0d}.nav-link.active:before{background:#8f6cff;box-shadow:0 0 14px #8f6cffcc}@media (max-width: 1180px){.sidebar{position:static;min-height:0}.brand{margin-bottom:14px}.nav-links{display:flex;flex-direction:row;overflow-x:auto}.nav-link{flex:0 0 auto}}.history-topline,.page-header p{color:#ffffff7a;font-size:14px;font-weight:600}.history-topline{margin:4px 0 16px}.history-panel{min-height:calc(100vh - 78px);padding:18px;border-radius:24px;overflow:hidden}.history-toolbar,.history-filters{display:flex;align-items:center;justify-content:space-between;gap:16px}.history-tabs{display:flex;gap:8px;max-width:100%;padding:5px;overflow-x:auto;border:1px solid rgba(255,255,255,.075);border-radius:16px;background:#08080e6b}.history-tab{min-width:96px;min-height:36px;padding:0 18px;border:1px solid transparent;border-radius:12px;background:transparent;color:#ffffffa8;font-size:13px;font-weight:600;white-space:nowrap}.history-tab.is-active{border-color:#977dff8a;background:linear-gradient(135deg,#7e5cffe6,#6541d2d6);color:#fff;box-shadow:0 10px 26px #7e5cff3d}.admin-profile{flex:0 0 auto;display:inline-flex;align-items:center;gap:10px;color:#ffffffc2;font-size:14px;font-weight:600}.admin-avatar{display:grid;place-items:center;width:36px;height:36px;border:1px solid rgba(151,125,255,.42);border-radius:50%;background:#ffffff0a}.history-filters{margin:18px 0}.search-control{flex:1 1 auto;min-width:0;height:44px;display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid rgba(255,255,255,.075);border-radius:14px;background:#08080e75;transition:.16s ease}.search-control:focus-within{border-color:#977dff80;box-shadow:0 0 0 3px #977dff1f}.search-control span{color:#ffffff70;font-size:22px}.search-control input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#fff;font-size:13px;font-weight:500}.filter-button,.auth-submit,.primary-button,.tab-button{border:1px solid rgba(151,125,255,.48);border-radius:14px;background:linear-gradient(135deg,#7e5cff,#6240db);color:#fff;font-weight:650;box-shadow:0 13px 30px #7e5cff42}.filter-button{flex:0 0 auto;min-width:92px;height:44px}.history-pagination{display:flex;justify-content:center;align-items:center;gap:8px;padding:22px 0 2px;color:#ffffff9e}.history-pagination button{min-width:32px;height:32px;border:1px solid rgba(255,255,255,.08);border-radius:11px;background:#ffffff0a;color:#ffffffd1;font-weight:600}.history-pagination button.is-current{border-color:#977dff70;background:#7e5cff29;color:#cabdff}@media (max-width: 1180px){.history-panel{overflow-x:auto}}@media (max-width: 820px){.history-toolbar,.history-filters{align-items:stretch;flex-direction:column}.admin-profile{align-self:flex-end}.filter-button{width:100%}}.swap-table{min-width:980px}.swap-table__head,.swap-row{display:grid;grid-template-columns:1.8fr 1fr .8fr .9fr .55fr .75fr .9fr;gap:12px}.swap-table__head{padding:0 18px 10px;color:#ffffff80;font-size:11px;font-weight:650;text-transform:uppercase}.swap-table__body{display:grid;gap:10px}.swap-row{width:100%;min-height:94px;align-items:center;padding:14px 18px;border:1px solid rgba(255,255,255,.075);border-radius:18px;background:linear-gradient(180deg,#232332ad,#13141ea8);color:inherit;text-align:left;box-shadow:inset 0 1px #ffffff0b;transition:.16s ease}.swap-row:hover{transform:translateY(-1px);border-color:#977dff57;background:linear-gradient(180deg,#2d2b40c7,#161722c2)}.swap-pairs{display:grid;grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr);align-items:center;gap:8px;min-width:0;max-width:250px}.pair-side,.swap-info,.swap-id,.swap-volume{display:grid;gap:6px;min-width:0}.pair-side strong,.swap-id strong,.swap-volume strong{color:#fff;font-size:13px;font-weight:600}.pair-side span,.pair-side small,.swap-info span,.swap-id span,.swap-volume span{min-width:0;overflow:hidden;color:#ffffffa8;font-size:12px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.pair-token{display:inline-flex;align-items:center;gap:5px}.coin-icon{width:22px;height:22px;flex:0 0 22px;border-radius:50%;filter:drop-shadow(0 0 17px rgba(124,92,255,.42))}.pair-side em{color:#bdafff;font-size:12px;font-style:normal;font-weight:600}.swap-arrow{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;color:#fffc}.swap-arrow svg{width:18px;height:18px}.swap-info strong{width:fit-content;max-width:100%;padding:6px 10px;overflow:hidden;border:1px solid rgba(151,125,255,.3);border-radius:999px;background:#977dff1f;color:#ffffffc7;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.swap-profit,.swap-risk{color:#ffffffc2;font-size:13px;font-weight:600}.swap-risk--low{color:#67ffc6}.swap-risk--medium{color:#ffe175}.swap-risk--high{color:#ff6f9c}.swap-status{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.status-pill{min-width:84px;min-height:30px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:#ffffff0b;color:#fff;font-size:12px;font-weight:600}.status-pill--success,.modal-success{border-color:#4affb547;background:linear-gradient(135deg,#24e5982e,#24e59814);color:#d8ffee}.status-pill--overdue,.status-pill--error{color:#ffc6d7;background:#ff59841f}.status-pill--frozen,.status-pill--freez{border-color:#58c2ff52;background:#58c2ff1a}.status-pill--waiting,.status-pill--confirmation,.status-pill--exchange,.status-pill--sending{border-color:#977dff47;background:#977dff1a;color:#ddd5ff}.row-menu{flex:0 0 auto;width:28px;height:32px;padding:0;border:0;background:transparent;color:#ffffffb8;font-size:22px}.swap-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at 18% 80%,rgba(126,92,255,.22),transparent 32%),#030308b8;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.swap-modal{width:min(980px,100%);max-height:calc(100vh - 56px);overflow:auto;padding:14px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:linear-gradient(180deg,#191927db,#080810e6);box-shadow:inset 0 1px #ffffff0f,0 34px 110px #00000094}.swap-modal__top,.swap-modal__summary,.swap-modal__tabs{display:flex;align-items:center;gap:8px}.swap-modal__top{min-height:48px;padding:0 12px;border-radius:9px;background:#ffffff0e}.swap-modal__top h2{flex:1 1 auto;margin:0;color:#ffffffe0;font-size:13px;text-align:center}.swap-modal__top h2 span{display:inline-block;margin:0 14px}.modal-close,.modal-lock{width:32px;height:32px;display:grid;place-items:center;border:0;background:transparent;color:#ffffffad;font-size:18px}.swap-modal__summary{display:grid;grid-template-columns:1.3fr 1.3fr .65fr .75fr;gap:8px;margin-top:10px}.swap-modal__summary div{min-height:46px;display:grid;place-items:center;padding:0 10px;border:1px solid rgba(255,255,255,.07);border-radius:9px;background:#ffffff0b;color:#ffffffdb;font-size:12px;font-weight:500}.swap-modal__summary div:first-child{background:linear-gradient(135deg,#9449ff57,#9449ff1a)}.swap-modal__tabs{margin:14px 0}.swap-modal__tabs button{min-width:72px;height:38px;border:1px solid rgba(255,255,255,.07);border-radius:9px;background:#ffffff0b;color:#ffffffbd;font-size:12px;font-weight:600}.swap-modal__tabs button.is-active{border-color:#977dff73;background:#7e5cff2e;color:#fff}.swap-modal__tabs .modal-edit{margin-left:auto;min-width:118px;border-color:#b955ff70;background:linear-gradient(135deg,#b34dff,#7e5cff);color:#fff}.status-editor{display:flex;flex-wrap:wrap;gap:8px;margin:-4px 0 14px;padding:10px;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:#ffffff09}.status-editor button{min-height:34px;padding:0 12px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:#ffffff0b;color:#ffffffc2;font-size:12px;font-weight:500}.status-editor button.is-selected{border-color:#977dff73;background:#7e5cff33;color:#fff}.swap-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.detail-card{overflow:hidden;border:1px solid rgba(255,255,255,.075);border-radius:9px;background:#ffffff09}.detail-card header{min-height:42px;display:flex;align-items:center;gap:8px;padding:0 14px;border-bottom:1px solid rgba(255,255,255,.065);background:#ffffff0b}.detail-card header strong{color:#fff;font-size:12px;font-weight:600}.detail-card header span,.detail-card header small{color:#ffffff94;font-size:11px;font-weight:500}.detail-card div{padding:10px 14px}.detail-card p{display:flex;justify-content:space-between;gap:14px;margin:0;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.055);font-size:12px}.detail-card p:last-child{border-bottom:0}.detail-card p span{color:#ffffff8f}.detail-card p b{min-width:0;overflow:hidden;color:#ffffffe0;font-weight:500;text-align:right;text-overflow:ellipsis;white-space:nowrap}@media (max-width: 820px){.swap-modal-backdrop{padding:12px}.swap-modal__summary,.swap-detail-grid{grid-template-columns:1fr}.swap-modal__tabs{flex-wrap:wrap}.swap-modal__tabs .modal-edit{width:100%;margin-left:0}}@media (max-width: 560px){.swap-modal__top h2{text-align:left}}.discord-publisher{display:grid;gap:18px;margin-top:22px}.discord-publisher__field,.embed-editor label{display:grid;gap:8px}.discord-publisher__field label,.discord-publisher__field>span,.embed-editor label label,.embed-editor label>span{color:#ffffff8f;font-size:12px;font-weight:600;text-transform:uppercase}.discord-publisher__field select,.discord-publisher__field input,.discord-publisher__field textarea,.embed-editor label select,.embed-editor label input,.embed-editor label textarea{width:100%;border:1px solid rgba(255,255,255,.08);border-radius:14px;outline:0;background:#08080e70;color:#fff;font-weight:500;transition:border-color .16s ease,box-shadow .16s ease}.discord-publisher__field select:focus,.discord-publisher__field input:focus,.discord-publisher__field textarea:focus,.embed-editor label select:focus,.embed-editor label input:focus,.embed-editor label textarea:focus{border-color:#977dff80;box-shadow:0 0 0 3px #977dff1f}.discord-publisher__field select,.discord-publisher__field input,.embed-editor label select,.embed-editor label input{height:48px;padding:0 14px}.discord-publisher__field textarea,.embed-editor label textarea{min-height:168px;resize:vertical;padding:14px;line-height:1.5}.discord-compose{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:18px;align-items:start}.discord-compose__editor{display:grid;gap:18px;min-width:0}.message-editor,.embed-builder,.discord-preview{border:1px solid rgba(255,255,255,.075);border-radius:18px;background:#08080e52;box-shadow:inset 0 1px #ffffff0a}.message-editor{display:grid;gap:12px;padding:14px}.message-toolbar,.emoji-strip{display:flex;flex-wrap:wrap;gap:8px}.message-toolbar button,.emoji-strip button,.embed-builder__header button,.embed-editor__top button,.embed-fields__head button,.embed-field-row button{min-height:34px;padding:0 12px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#ffffff0b;color:#ffffffc7;font-size:12px;font-weight:600}.message-toolbar button:hover:not(:disabled),.emoji-strip button:hover:not(:disabled),.embed-builder__header button:hover:not(:disabled),.embed-editor__top button:hover:not(:disabled),.embed-fields__head button:hover:not(:disabled),.embed-field-row button:hover:not(:disabled){border-color:#977dff61;background:#7e5cff24;color:#fff}.message-toolbar button:disabled,.emoji-strip button:disabled,.embed-builder__header button:disabled,.embed-editor__top button:disabled,.embed-fields__head button:disabled,.embed-field-row button:disabled{opacity:.45;cursor:default}.embed-builder{display:grid;gap:12px;padding:14px}.embed-builder__header,.embed-editor__top,.embed-fields__head{display:flex;align-items:center;justify-content:space-between;gap:12px}.embed-builder__header h3{margin:0;color:#ffffffdb;font-size:15px;font-weight:600}.embed-editor{overflow:hidden;border:1px solid rgba(255,255,255,.075);border-left:3px solid #3105a3;border-radius:14px;background:#ffffff09}.embed-editor__top{min-height:42px;padding:0 12px;border-bottom:1px solid rgba(255,255,255,.06);color:#ffffffd1;font-size:13px;font-weight:600}.embed-editor__body{display:grid;gap:14px;padding:14px}.embed-editor__inline{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.45fr);gap:12px}.color-control{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:10px}.color-control input[type=color]{padding:4px}.embed-fields{display:grid;gap:10px}.embed-fields__head span{color:#ffffffb3;font-size:13px;font-weight:600}.embed-field-row{display:grid;gap:8px;padding:10px;border:1px solid rgba(255,255,255,.06);border-radius:12px;background:#ffffff08}.embed-field-row input,.embed-field-row textarea{width:100%;border:1px solid rgba(255,255,255,.08);border-radius:12px;outline:0;background:#08080e70;color:#fff}.embed-field-row input{height:40px;padding:0 12px}.embed-field-row textarea{padding:12px;resize:vertical}.discord-preview{position:sticky;top:22px;min-width:0;padding:16px}.discord-preview__channel{margin-bottom:16px;color:#ffffff8c;font-size:13px;font-weight:600}.discord-message{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px}.discord-message__avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;box-shadow:0 0 26px #7c5cff6b}.discord-message__meta{display:flex;align-items:center;gap:7px;margin-bottom:6px}.discord-message__meta strong{color:#fff;font-size:14px}.discord-message__meta span{padding:1px 4px;border-radius:4px;background:#5865f2;color:#fff;font-size:10px;font-weight:700}.discord-message__meta small{color:#ffffff73;font-size:12px}.discord-message__content,.discord-embed-preview__description{color:#ffffffe0;font-size:14px;line-height:1.45}.discord-message__content p,.discord-embed-preview__description p{margin:0 0 10px;white-space:pre-wrap}.discord-message__content code,.discord-embed-preview__description code{padding:1px 4px;border-radius:4px;background:#00000052;font-family:Consolas,Monaco,monospace}.discord-spoiler{border-radius:3px;background:#ffffff2e;color:transparent}.discord-embeds{display:grid;gap:8px;margin-top:10px}.discord-embed-preview{padding:14px 16px;border-left:4px solid #3105a3;border-radius:4px;background:#14151ce6}.discord-embed-preview h4{margin:0 0 10px;color:#fff;font-size:15px;font-weight:700}.discord-embed-preview__fields{display:grid;gap:12px;margin-top:12px}.discord-embed-preview__fields strong{display:block;margin-bottom:4px;color:#fff;font-size:13px}.discord-embed-preview__fields p{margin:0;color:#ffffffd1;font-size:13px;line-height:1.45}.discord-publisher__footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.discord-publisher__meta{color:#ffffff7a;font-size:13px}.discord-publisher__footer button{min-width:150px;height:44px;border:1px solid rgba(151,125,255,.48);border-radius:14px;background:linear-gradient(135deg,#7e5cff,#6240db);color:#fff;font-weight:650;box-shadow:0 13px 30px #7e5cff42}.discord-publisher__footer button:disabled{opacity:.48;cursor:default;box-shadow:none}.discord-publisher__notice{margin:0;padding:12px 14px;border-radius:12px;font-size:13px}.discord-publisher__notice--success{border:1px solid rgba(74,255,181,.22);background:#24e5981a;color:#d8ffee}.discord-publisher__notice--error{border:1px solid rgba(255,89,132,.22);background:#ff59841a;color:#ffc6d7}@media (max-width: 1180px){.discord-compose{grid-template-columns:1fr}.discord-preview{position:static}}@media (max-width: 700px){.embed-editor__inline{grid-template-columns:1fr}}@media (max-width: 560px){.discord-publisher__footer{align-items:stretch;flex-direction:column}.discord-publisher__footer button{width:100%}}.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{width:min(560px,100%);padding:28px;border-radius:24px}.auth-hero{margin-bottom:24px;text-align:center}.auth-hero h1{margin:0 0 10px;font-size:34px}.auth-hero p{max-width:420px;margin:0 auto;color:#ffffff9e;line-height:1.6}.auth-badge{display:inline-flex;min-height:30px;align-items:center;padding:6px 12px;margin-bottom:14px;border:1px solid rgba(151,125,255,.38);border-radius:999px;background:#7e5cff21;color:#d8ccff;font-size:12px;font-weight:600;text-transform:uppercase}.auth-field{display:grid;gap:8px;margin-bottom:16px}.auth-field label{color:#ffffff8f;font-size:12px;font-weight:600;text-transform:uppercase}.auth-field input{width:100%;height:52px;padding:0 16px;border:1px solid rgba(255,255,255,.08);border-radius:14px;outline:0;background:#08080e70;color:#fff;font-weight:500}.password-control{position:relative}.password-control input{padding-right:84px}.password-toggle{position:absolute;top:50%;right:10px;min-width:60px;height:32px;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:#ffffff0d;color:#ffffffc7;transform:translateY(-50%);font-size:12px;font-weight:600}.auth-submit{width:100%;height:52px}@media (max-width: 560px){.auth-card{padding:18px 14px}.auth-hero h1{font-size:28px}}.page-shell{width:min(1060px,100%);margin:0 auto}.page-header h1{margin:0;font-size:32px}.card{margin-top:22px;padding:24px;border-radius:20px}.members-filter{margin-bottom:18px}.members-filter input{width:100%;height:52px;padding:0 16px;border:1px solid rgba(255,255,255,.08);border-radius:14px;outline:0;background:#08080e70;color:#fff;font-weight:500}.members-table{width:100%;border-collapse:collapse}.members-table th,.members-table td{padding:16px 14px;text-align:left}.members-table th{color:#ffffff85;border-bottom:1px solid rgba(255,255,255,.08)}.members-table tbody tr{border-bottom:1px solid rgba(255,255,255,.055)}.tabs{display:flex;gap:12px}.tab-button{width:fit-content;height:44px;padding:0 22px;background:#ffffff0a;box-shadow:none}.tab-button.active{background:linear-gradient(135deg,#7e5cff,#6240db)}.social-card ul{list-style:none;padding:0;margin:18px 0 0}.social-card li{padding:12px 14px;margin-bottom:10px;border-radius:12px;background:#ffffff0a}@media (max-width: 560px){.card{padding:18px 14px}}
