.hyperliquid-pnl-page .position-pnl-canvas-panel canvas {
  width: min(100%, 702px);
  min-width: 0;
  aspect-ratio: 702 / 644;
  background: #001d1c;
}

.hyperliquid-pnl-page .hyperliquid-status.is-live {
  color: #62d1af;
}

.hyper-asset-field { min-width: 0; }
.hyper-asset-trigger {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto 10px;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #35383d;
  border-radius: 3px;
  background: #0c0e10;
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.hyper-asset-trigger:hover,.hyper-asset-trigger[aria-expanded="true"] { border-color: #f43d70; }
.hyper-asset-trigger img,.hyper-asset-option img { display: block; width: 26px; height: 26px; object-fit: contain; border-radius: 50%; }
.hyper-asset-trigger img[hidden] { visibility: hidden; }
.hyper-asset-trigger span[data-asset-trigger-name] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 760; }
.hyper-asset-trigger small { overflow: hidden; max-width: 75px; color: #777d84; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.hyper-asset-chevron { width: 7px; height: 7px; border-right: 1px solid #a6a9ae; border-bottom: 1px solid #a6a9ae; transform: rotate(45deg) translateY(-2px); }
.hyper-asset-popover {
  position: fixed;
  z-index: 100;
  display: grid;
  gap: 8px;
  width: 310px;
  padding: 9px;
  border: 1px solid #383039;
  border-left: 2px solid #f43d70;
  border-radius: 3px;
  background: #111214;
  box-shadow: 0 18px 46px #000b;
}
.hyper-asset-popover[hidden] { display: none; }
.hyper-asset-popover input { box-sizing: border-box; width: 100%; min-height: 36px; border-radius: 2px; }
.hyper-asset-options { max-height: 286px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #565960 transparent; }
.hyper-asset-option {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 39px;
  padding: 5px 7px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.hyper-asset-option:hover,.hyper-asset-option:focus-visible { background: #252024; outline: 1px solid #784051; }
.hyper-asset-option span { display: flex; justify-content: space-between; gap: 8px; min-width: 0; }
.hyper-asset-option strong,.hyper-asset-option small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hyper-asset-option strong { font-size: 12px; }
.hyper-asset-option small { color: #85898f; font-size: 10px; }
.hyper-asset-empty { margin: 8px; color: #92979e; font-size: 12px; }
.hyper-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.hyper-summary span { display: grid; gap: 4px; padding: 8px 10px; border-top: 1px solid #30343a; min-width: 0; }
.hyper-summary small { color: #8b9198; font-size: 10px; }
.hyper-summary strong { overflow: hidden; color: #dce2df; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 480px) {
  .hyper-asset-trigger { grid-template-columns: 26px minmax(0,1fr) 10px; }
  .hyper-asset-trigger small { display: none; }
}
