.panel[data-view="price-screen"]{
  overflow:hidden;
  background:linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.panel[data-view="price-screen"]::before{
  display:none;
}

.price-screen{
  height:100%;
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:2px 4px 4px;
  color:var(--ink);
  min-height:0;
}

.price-screen__board-head,
.price-screen__row{
  display:grid;
  grid-template-columns:
    92px
    minmax(126px, .74fr)
    76px
    minmax(128px, .97fr)
    53px
    minmax(128px, .97fr)
    minmax(135px, 1.03fr)
    53px
    minmax(135px, 1.03fr);
  align-items:center;
  gap:9px;
}

.price-screen__board-head{
  flex:0 0 auto;
  padding:4px 10px 2px;
  color:#3b4b63;
  font:700 11px/1.15 var(--taif-font-family);
}

.price-screen__board-head > *{
  min-width:0;
  text-align:center;
}

.price-screen__board-head-name{
  text-align:right;
}

.price-screen__board-head-name .taif-singleline-fit{
  text-align:right;
}

.price-screen__board-body{
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  padding:0 0 1px;
  scrollbar-width:thin;
  scrollbar-color:var(--taif-scrollbar-thumb) var(--taif-scrollbar-track);
  scrollbar-gutter:stable;
  background:transparent;
}

.price-screen__board-body::-webkit-scrollbar{
  width:8px;
  height:8px;
}

.price-screen__board-body::-webkit-scrollbar-track{
  background:var(--taif-scrollbar-track);
  border-radius:10px;
}

.price-screen__board-body::-webkit-scrollbar-thumb{
  border-radius:10px;
  background:var(--taif-scrollbar-thumb);
  border:1px solid transparent;
  background-clip:padding-box;
}

.price-screen__list{
  display:grid;
  gap:6px;
}

.price-screen__row{
  padding:7px 12px 7px 10px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:9px;
  background:#ffffff;
  min-height:56px;
  box-shadow:0 1px 0 rgba(255,255,255,.96) inset;
  transition:transform .12s ease, border-color .12s ease, box-shadow .12s ease, background-color .12s ease;
}

.price-screen__row > *{
  min-width:0;
}

.price-screen__row:hover{
  transform:translateY(-1px);
  border-color:rgba(37,99,235,.20);
  box-shadow:0 10px 22px rgba(37,99,235,.07);
}

.price-screen__row--usd{
  background:linear-gradient(90deg, #f5f9ff 0%, #ffffff 100%);
  border-color:rgba(37,99,235,.18);
}

.price-screen__code,
.price-screen__num{
  height:36px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  font:700 13px/1 var(--taif-font-family);
}

.price-screen__code{
  width:100%;
  border:1px solid rgba(15,23,42,.08);
  background:rgba(15,23,42,.05);
  letter-spacing:.35px;
}

.price-screen__name{
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-end;
  gap:0;
}

.price-screen__pair-badge{
  min-height:20px;
  width:100%;
  max-width:76px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 8px;
  border-radius:10px;
  border:1px solid rgba(59,130,246,.14);
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(239,246,255,.94));
  color:#1d4ed8;
  direction:ltr;
  white-space:nowrap;
  font:700 11px/1 var(--taif-font-family);
}

.price-screen__pair-col{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding-inline:0;
}

.price-screen__name-main{
  width:100%;
  font:700 13px/1.22 var(--taif-font-family);
  color:var(--ink);
  text-align:right;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}


.price-screen__name-sub{
  display:none !important;
}

.price-screen__num{
  width:calc(100% - 36px);
  max-width:calc(100% - 36px);
  height:38px;
  border-radius:8px;
  justify-self:center;
  border:1px solid rgba(15,23,42,.07);
  background:rgba(15,23,42,.04);
  font-variant-numeric:tabular-nums;
  padding:0 8px;
}

.price-screen__num--buy,
.price-screen__num--dollar-buy{
  background:linear-gradient(180deg, #29c861 0%, #19ab4d 100%);
  border-color:#17994a;
  color:#ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 6px 14px rgba(25,171,77,.14);
  text-shadow:0 1px 1px rgba(0,0,0,.22);
}

.price-screen__num--sell,
.price-screen__num--dollar-sell{
  background:linear-gradient(180deg, #f54040 0%, #c81820 100%);
  border-color:#b91820;
  color:#ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 6px 14px rgba(200,24,32,.13);
  text-shadow:0 1px 1px rgba(0,0,0,.22);
}

.price-screen__empty{
  min-height:220px;
  display:grid;
  place-items:center;
  text-align:center;
  padding:18px;
  color:rgba(15,23,42,.62);
  font:700 14px/1.8 var(--taif-font-family);
}

@media (max-width: 980px){
  .price-screen{
    padding:4px;
  }

  .price-screen__board-head,
  .price-screen__row{
    min-width:1060px;
  }
}

.price-screen--display-only{
  justify-content:flex-start;
}

.price-screen__flag,
.price-screen__usd-flag{
  width:46px;
  height:46px;
  justify-self:center;
}
