/* Lista de ativos (Mercado): preço, variação do dia em % e em preço, spread, mínima/máxima do dia.
   Arrastar p/ esquerda = Remover; segurar = menu. Este arquivo vem depois dos outros e manda na linha. */
.watch-list .watch-row { display: block; position: relative; padding: 0; overflow: hidden; --rev: 0px; }
.watch-list .watch-row .rm { display: none !important; }
.w-main { display: grid; grid-template-columns: minmax(0, 1fr) 64px auto; grid-template-areas: "nm sp bid" "nm sp ch" "wx wx wx";
  column-gap: 12px; row-gap: 2px; align-items: center; padding: 12px 14px 10px; position: relative; z-index: 1; background: inherit; border-radius: inherit;
  touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; will-change: transform; }
.w-main .nm { grid-area: nm; }
.w-main .spark { grid-area: sp; }
.w-main .px[data-bid] { grid-area: bid; }
.w-main .px[data-ask] { display: none !important; }
.watch-list .watch-row .w-main .ch { grid-area: ch; display: inline-flex !important; visibility: visible !important; align-items: baseline; gap: 6px; justify-self: end; font-family: var(--mono); }
.w-main .ch em { font-style: normal; font-weight: 600; opacity: .85; }
.w-main .ch b { font-weight: 700; }
.wx { grid-area: wx; display: flex; align-items: center; gap: 10px; margin-top: 7px; padding-top: 7px; border-top: 1px solid rgba(255,255,255,.05); font-size: 11px; color: var(--muted); min-width: 0; }
.wx b { font-family: var(--mono); font-weight: 600; color: #c9cff0; }
.w-sp { flex: none; padding: 2px 7px; border-radius: 6px; background: rgba(139,147,255,.09); }
.w-rng { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; }
.w-rng.hidden { display: none; }
.w-rng small { flex: none; font-family: var(--mono); font-size: 10.5px; }
.w-bar { position: relative; flex: 1; min-width: 30px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, rgba(255,77,109,.45), rgba(139,147,255,.25) 50%, rgba(0,227,154,.45)); }
.w-bar i { position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(6,9,19,.9), 0 0 8px rgba(255,255,255,.5); transition: left .4s; }
.w-bar i.gain { background: var(--gain); box-shadow: 0 0 0 2px rgba(6,9,19,.9), 0 0 8px rgba(0,227,154,.7); }
.w-bar i.loss { background: var(--loss); box-shadow: 0 0 0 2px rgba(6,9,19,.9), 0 0 8px rgba(255,77,109,.7); }
.w-ask { margin-left: auto; flex: none; }
.watch-row.has-rng .w-ask { display: none; }
.w-swipe { position: absolute; top: 0; right: 0; bottom: 0; width: var(--rev); display: flex; justify-content: flex-end; overflow: hidden; z-index: 0; }
.w-del { flex: none; width: 92px; border: 0; padding: 0; display: grid; place-content: center; justify-items: center; gap: 4px; color: #fff; font-size: 11.5px; font-weight: 800;
  background: linear-gradient(160deg, #ff7a93, #e0244d); }
.w-del svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.w-hint { margin: 4px 4px 0; font-size: 11px; color: var(--muted); opacity: .75; text-align: center; }
.acc-menu-head small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* celular: o cartão tem fundo próprio; a linha toda é o cartão */
@media (max-width: 820px), (max-height: 500px) {
  .watch-list .watch-row { border: 0; border-radius: 18px; background: transparent; box-shadow: none; }
  .watch-list .watch-row:active { transform: none; }
  .watch-list .watch-row.active { background: transparent; box-shadow: none; }
  .w-main { background: var(--glass); border: 1px solid var(--line); border-radius: 18px; }
  .watch-row.active .w-main { background: linear-gradient(150deg, rgba(124,92,255,.22), rgba(16,23,42,.92) 70%); border-color: rgba(124,92,255,.45); }
  .w-del { border-radius: 0 18px 18px 0; }
  .w-rng [data-lo]::before { content: "Mín "; font-family: Inter, sans-serif; font-size: 9.5px; font-weight: 700; opacity: .7; }
  .w-rng [data-hi]::before { content: "Máx "; font-family: Inter, sans-serif; font-size: 9.5px; font-weight: 700; opacity: .7; }
}
/* PC: barra lateral estreita */
@media (min-width: 821px) and (min-height: 501px) {
  .w-main { grid-template-columns: minmax(0, 1fr) 50px auto; column-gap: 8px; padding: 9px 10px 8px; background: transparent; }
  .watch-list .watch-row { border-radius: 13px; }
  .watch-row:hover .w-main { background: rgba(139,147,255,.05); }
  .w-main .ch em { display: none; }
  .wx { margin-top: 5px; padding-top: 5px; gap: 8px; font-size: 10px; }
  .w-rng small { font-size: 9.5px; }
  .w-hint { font-size: 10px; }
}
