.gw-head{
  margin-bottom:16px;
}

.gw-kicker{
  margin:0 0 8px;
  font-size:11px;
  line-height:1;
  letter-spacing:.15em;
  color:var(--accent-3, var(--accent-2));
  font-weight:800;
  text-transform:uppercase;
}

.gw-title{
  margin:0 0 8px;
  font-size:24px;
  line-height:1.06;
  letter-spacing:-0.04em;
  text-wrap:balance;
}

.gw-sub{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.52;
}

.genesis-widget{
  width:100%;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.014)),
    rgba(20,23,30,.88);
  border:1px solid rgba(255,138,0,.14);
  border-radius:20px;
  box-shadow:
    0 16px 46px rgba(0,0,0,.30),
    0 0 0 1px rgba(255,180,84,.03) inset;
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  padding:20px;
  position:relative;
  overflow:visible;
  isolation:isolate;
}

.genesis-widget::before{
  content:"";
  position:absolute;
  inset:-1px auto auto -1px;
  width:128px;
  height:128px;
  background:radial-gradient(circle, rgba(255,138,0,.12) 0%, rgba(255,138,0,0) 72%);
  pointer-events:none;
  z-index:0;
}

.genesis-widget > *{
  position:relative;
  z-index:1;
}

.gw-field{
  margin-bottom:14px;
  position:relative;
  z-index:40;
}

.gw-label{
  display:block;
  margin-bottom:8px;
  font-size:12px;
  color:var(--muted);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.gw-inputRow{
  display:grid;
  grid-template-columns:minmax(0,1fr) 220px;
  gap:10px;
}

.gw-input{
  width:100%;
  height:50px;
  border:1px solid rgba(255,138,0,.12);
  border-radius:14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    var(--panel-2);
  color:var(--text);
  padding:0 16px;
  outline:none;
  transition:
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.gw-input::placeholder{
  color:var(--muted-2);
}

.gw-input:hover{
  border-color:rgba(255,138,0,.20);
}

.gw-input:focus{
  border-color:rgba(255,138,0,.46);
  box-shadow:0 0 0 4px rgba(255,138,0,.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.038), rgba(255,255,255,.014)),
    var(--panel-2);
}

.gw-asset{
  position:relative;
  min-width:0;
  z-index:80;
}

.gw-asset__btn{
  width:100%;
  height:50px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 12px;
  border:1px solid rgba(255,138,0,.12);
  border-radius:14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    var(--panel-2);
  color:var(--text);
  cursor:pointer;
  transition:
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.gw-asset__btn:hover{
  border-color:rgba(255,138,0,.28);
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.014)),
    var(--panel-2);
}

.gw-asset__btn:focus-visible{
  outline:none;
  border-color:rgba(255,138,0,.46);
  box-shadow:0 0 0 4px rgba(255,138,0,.10);
}

.gw-asset__btn[aria-expanded="true"]{
  border-color:rgba(255,138,0,.42);
  box-shadow:0 0 0 4px rgba(255,138,0,.09);
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)),
    var(--panel-2);
}

.gw-asset__btn img{
  width:28px;
  height:28px;
  object-fit:contain;
  flex:0 0 28px;
}

.gw-asset__label{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-width:0;
  flex:1;
}

#gwAssetSymbol{
  font-size:14px;
  font-weight:800;
  line-height:1.1;
  letter-spacing:-0.01em;
}

.gw-asset__net,
#gwAssetNetwork{
  font-size:11px;
  line-height:1.1;
  color:var(--muted);
  margin-top:2px;
}

.gw-asset__arrow{
  font-size:12px;
  color:var(--muted);
  flex:0 0 auto;
}

.gw-asset__menu{
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  right:0;
  max-height:280px;
  overflow:auto;
  padding:8px;
  border-radius:18px;
  border:1px solid rgba(255,138,0,.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)),
    rgba(13,15,20,.985);
  box-shadow:0 22px 50px rgba(0,0,0,.52);
  display:none;
  z-index:999;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.gw-asset__menu::-webkit-scrollbar{
  width:10px;
}

.gw-asset__menu::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.10);
  border-radius:999px;
}

.gw-assetItem{
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 11px;
  border:1px solid transparent;
  background:transparent;
  color:var(--text);
  border-radius:12px;
  cursor:pointer;
  text-align:left;
  transition:
    background .16s ease,
    border-color .16s ease,
    transform .16s ease;
}

.gw-assetItem:hover{
  background:rgba(255,255,255,.05);
  border-color:rgba(255,138,0,.12);
  transform:translateY(-1px);
}

.gw-assetItem img{
  width:28px;
  height:28px;
  object-fit:contain;
  flex:0 0 28px;
}

.gw-assetItem__t{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}

.gw-assetItem__t b{
  font-size:13px;
  line-height:1.1;
  font-weight:800;
  letter-spacing:-0.01em;
}

.gw-assetItem__t span{
  font-size:11px;
  line-height:1.1;
  color:var(--muted);
}

.gw-assetItem--disabled{
  opacity:.42;
  cursor:not-allowed;
}

.gw-assetItem--disabled:hover{
  background:transparent;
  border-color:transparent;
  transform:none;
}

.gw-assetSep{
  height:1px;
  margin:8px 4px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.09), transparent);
}

.gw-allocationCard{
  margin-top:8px;
  border:1px solid rgba(255,138,0,.12);
  border-radius:18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.01)),
    rgba(255,255,255,.018);
  padding:12px;
  position:relative;
  z-index:1;
}

.gw-allocationCard__label{
  margin:0 0 10px;
  font-size:11px;
  line-height:1;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--muted);
}

.gw-totalDisplay{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:48px;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.01)),
    rgba(255,255,255,.015);
}

.gw-totalDisplay__valueWrap{
  min-width:0;
  flex:1;
}

.gw-totalDisplay__value{
  display:block;
  color:var(--text);
  font-size:24px;
  line-height:1;
  letter-spacing:-0.04em;
  font-weight:900;
}

.gw-totalDisplay__token{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}

.gw-totalDisplay__icon{
  width:28px;
  height:28px;
  object-fit:contain;
  flex:0 0 28px;
  filter:drop-shadow(0 0 12px rgba(255,180,84,.14));
}

.gw-priceBox{
  margin-top:10px;
  padding:12px 14px;
  border:1px solid rgba(255,138,0,.14);
  border-radius:14px;
  background:
    linear-gradient(180deg, rgba(255,180,84,.08), rgba(255,138,0,.03)),
    rgba(255,255,255,.015);
}

.gw-priceBox__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.gw-priceBox__label{
  font-size:12px;
  line-height:1;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--accent-3, #ffca7a);
  font-weight:800;
}

.gw-priceBox__price{
  color:var(--text);
  font-weight:900;
  font-size:13px;
}

.gw-priceBox__sub{
  margin-top:6px;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}

.gw-breakdown{
  margin-top:10px;
  padding:12px 14px;
  border:1px solid rgba(255,138,0,.12);
  border-radius:14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.008)),
    rgba(255,255,255,.015);
}

.gw-breakdown__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:8px 0;
}

.gw-breakdown__row + .gw-breakdown__row{
  border-top:1px solid rgba(255,255,255,.06);
}

.gw-breakdown__k{
  color:var(--muted);
  font-size:13px;
  line-height:1.4;
}

.gw-breakdown__v{
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  color:var(--text);
  font-weight:800;
  text-align:right;
  font-size:13px;
  line-height:1;
}

.gw-tokenIcon{
  width:18px;
  height:18px;
  object-fit:contain;
  flex:0 0 18px;
  filter:drop-shadow(0 0 10px rgba(255,180,84,.10));
}

.gw-breakdown__note{
  margin:10px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.55;
}

.gw-breakdown__note strong{
  color:var(--text);
  font-weight:800;
}

.gw-actions{
  margin-top:14px;
  position:relative;
  z-index:1;
}

.gw-btn{
  width:100%;
  height:50px;
  border:0;
  border-radius:14px;
  cursor:pointer;
  font-weight:900;
  letter-spacing:-0.01em;
  transition:
    transform .12s ease,
    opacity .12s ease,
    box-shadow .18s ease,
    filter .18s ease;
}

.gw-btn:disabled{
  opacity:.55;
  cursor:not-allowed;
}

.gw-btn:active{
  transform:translateY(1px);
}

.gw-btnPrimary{
  background:linear-gradient(180deg, var(--accent-2), var(--accent));
  color:#16120d;
  box-shadow:0 12px 28px rgba(255,138,0,.24);
}

.gw-btnPrimary:hover{
  filter:brightness(1.02);
  box-shadow:0 14px 34px rgba(255,138,0,.28);
}

.gw-msg{
  margin:10px 2px 0;
  min-height:16px;
  font-size:12px;
  color:var(--muted);
  position:relative;
  z-index:1;
}

.gw-micro{
  margin:6px 2px 0;
  color:var(--muted-2);
  font-size:11px;
  line-height:1.5;
  position:relative;
  z-index:1;
}


@media (max-width: 980px){
  .gw-title{
    font-size:22px;
    line-height:1.1;
  }

  .gw-sub{
    font-size:13px;
    line-height:1.48;
  }

  .gw-inputRow{
    grid-template-columns:minmax(0,1fr) 184px;
    gap:10px;
    align-items:stretch;
  }

  .gw-asset__menu{
    max-height:260px;
  }
}

@media (max-width: 760px){
  .genesis-widget{
    padding:16px;
    border-radius:16px;
  }

  .gw-head{
    margin-bottom:12px;
  }

  .gw-kicker{
    margin:0 0 7px;
    font-size:10px;
    letter-spacing:.16em;
  }

  .gw-title{
    font-size:20px;
    line-height:1.12;
    letter-spacing:-0.035em;
  }

  .gw-sub{
    font-size:13px;
    line-height:1.45;
  }

  .gw-field{
    margin-bottom:10px;
  }

  .gw-label{
    margin-bottom:7px;
    font-size:11px;
    letter-spacing:.08em;
  }

    .gw-inputRow{
    grid-template-columns:minmax(0,1fr) 168px;
    gap:8px;
    align-items:stretch;
  }

  .gw-input,
  .gw-asset__btn{
    height:46px;
  }

  .gw-input{
    padding:0 14px;
  }

  .gw-asset{
    min-width:0;
  }

  .gw-asset__btn{
    padding:0 11px;
    gap:9px;
  }

  .gw-asset__btn img,
  .gw-assetItem img{
    width:26px;
    height:26px;
    flex:0 0 26px;
  }

  #gwAssetSymbol{
    font-size:13px;
  }

  .gw-asset__net,
  #gwAssetNetwork{
    font-size:10px;
    margin-top:2px;
  }

  .gw-allocationCard{
    margin-top:6px;
    padding:10px 11px;
    border-radius:16px;
  }

  .gw-allocationCard__label{
    margin:0 0 9px;
    font-size:10px;
    letter-spacing:.14em;
  }

  .gw-totalDisplay{
    padding:0 11px;
    min-height:44px;
    border-radius:12px;
  }

  .gw-totalDisplay__value{
    font-size:20px;
    line-height:1;
  }

  .gw-totalDisplay__icon{
    width:24px;
    height:24px;
    flex:0 0 24px;
  }

  .gw-priceBox{
    margin-top:9px;
    padding:10px 11px;
    border-radius:12px;
  }

  .gw-breakdown{
    margin-top:9px;
    padding:10px 11px;
    border-radius:12px;
  }

  .gw-priceBox__top,
  .gw-breakdown__row{
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:10px;
  }

  .gw-priceBox__label{
    font-size:11px;
    letter-spacing:.11em;
  }

  .gw-priceBox__price{
    font-size:12px;
  }

  .gw-priceBox__sub{
    margin-top:5px;
    font-size:12px;
    line-height:1.42;
  }

  .gw-breakdown__row{
    padding:7px 0;
  }

  .gw-breakdown__k{
    font-size:12px;
    line-height:1.35;
  }

  .gw-breakdown__v{
    justify-content:flex-end;
    text-align:right;
    font-size:12px;
    gap:5px;
  }

  .gw-tokenIcon{
    width:17px;
    height:17px;
    flex:0 0 17px;
  }

  .gw-breakdown__note{
    margin:8px 0 0;
    font-size:11px;
    line-height:1.5;
  }

  .gw-actions{
    margin-top:12px;
  }

  .gw-btn{
    height:46px;
    border-radius:12px;
    font-size:15px;
  }

  .gw-msg{
    margin:8px 2px 0;
    font-size:11px;
  }

  .gw-micro{
    margin:6px 2px 0;
    font-size:10px;
    line-height:1.45;
  }

  .gw-asset__menu{
    max-height:220px;
    border-radius:16px;
  }

  .gw-assetItem{
    padding:9px 10px;
    border-radius:11px;
  }

  .gw-assetItem__t b{
    font-size:12px;
  }

  .gw-assetItem__t span{
    font-size:10px;
  }
}

@media (max-width: 480px){
  .genesis-widget{
    padding:14px;
    border-radius:15px;
  }

  .gw-head{
    margin-bottom:11px;
  }

  .gw-kicker{
    margin:0 0 6px;
    font-size:10px;
    letter-spacing:.15em;
  }

  .gw-title{
    font-size:18px;
    line-height:1.14;
    letter-spacing:-0.03em;
  }

  .gw-sub{
    font-size:12px;
    line-height:1.42;
  }

  .gw-field{
    margin-bottom:9px;
  }

  .gw-label{
    margin-bottom:6px;
    font-size:11px;
  }

  .gw-input,
  .gw-asset__btn{
    height:44px;
  }

  .gw-input{
    padding:0 12px;
  }

  .gw-asset__btn{
    padding:0 10px;
    gap:8px;
  }

  .gw-asset__btn img,
  .gw-assetItem img{
    width:24px;
    height:24px;
    flex:0 0 24px;
  }

  #gwAssetSymbol{
    font-size:12px;
  }

  .gw-asset__net,
  #gwAssetNetwork{
    font-size:10px;
  }

  .gw-allocationCard{
    margin-top:5px;
    padding:9px 10px;
    border-radius:14px;
  }

  .gw-allocationCard__label{
    margin:0 0 8px;
    font-size:10px;
    letter-spacing:.13em;
  }

  .gw-totalDisplay{
    min-height:42px;
    padding:0 10px;
    border-radius:11px;
  }

  .gw-totalDisplay__value{
    font-size:18px;
  }

  .gw-totalDisplay__icon{
    width:22px;
    height:22px;
    flex:0 0 22px;
  }

  .gw-priceBox{
    margin-top:8px;
    padding:9px 10px;
    border-radius:11px;
  }

  .gw-breakdown{
    margin-top:8px;
    padding:9px 10px;
    border-radius:11px;
  }

  .gw-priceBox__top{
    gap:8px;
  }

  .gw-priceBox__label{
    font-size:10px;
    letter-spacing:.11em;
  }

  .gw-priceBox__price{
    font-size:11px;
  }

  .gw-priceBox__sub{
    margin-top:4px;
    font-size:11px;
    line-height:1.4;
  }

  .gw-breakdown__row{
    gap:8px;
    padding:6px 0;
  }

  .gw-breakdown__k,
  .gw-breakdown__v{
    font-size:11px;
  }

  .gw-tokenIcon{
    width:16px;
    height:16px;
    flex:0 0 16px;
  }

  .gw-breakdown__note{
    margin:7px 0 0;
    font-size:10px;
    line-height:1.45;
  }

  .gw-actions{
    margin-top:11px;
  }

  .gw-btn{
    height:44px;
    font-size:14px;
    border-radius:11px;
  }

  .gw-msg{
    font-size:10px;
  }

  .gw-micro{
    font-size:10px;
    line-height:1.4;
  }

  .gw-asset__menu{
    max-height:200px;
    padding:7px;
    border-radius:14px;
  }

  .gw-assetItem{
    padding:8px 9px;
    border-radius:10px;
  }

  .gw-assetItem__t b{
    font-size:11px;
  }

  .gw-assetItem__t span{
    font-size:10px;
  }
}