.jx-order-card {
  margin: 8px 0;
  padding: 14px;
  border: 1px solid #eadfce;
  border-radius: 14px;
  background: #fff;
  color: #2e302d;
}
.jx-order-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.jx-order-card > header > strong { font-size: 16px; line-height: 1.45; }
.jx-order-status {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f1f1f1;
  color: #777;
  font-size: 12px;
  white-space: nowrap;
}
.jx-order-status.is-pending { background: #fff3df; color: #a46a18; }
.jx-order-status.is-won { background: #e5f4ec; color: #27804a; }
.jx-order-meta { margin: 6px 0 12px; color: #8a8a8a; font-size: 12px; }
.jx-order-items { display: grid; gap: 2px; }
.jx-order-item {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 8px;
  border-radius: 8px;
}
.jx-order-item strong { min-width: 0; flex: 1; overflow-wrap: anywhere; font-size: 15px; font-weight: 600; }
.jx-order-item span { color: #63563d; font-size: 14px; text-align: right; overflow-wrap: anywhere; }
.jx-order-item small { min-width: 34px; color: #888; font-size: 12px; text-align: right; }
.jx-order-item small.is-hit { color: #27804a; font-weight: 600; }
.jx-order-totals {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee8df;
}
.jx-order-totals strong { font-size: 14px; }
.jx-order-totals > span { color: #888; font-size: 12px; text-align: right; }
.jx-order-settlement { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #f4f4f4; }
.jx-order-settlement h3,
.jx-order-result h3 { margin: 0 0 5px; font-size: 13px; font-weight: 600; }
.jx-order-settlement p,
.jx-order-result p { margin: 0; color: #666; font-size: 13px; line-height: 1.5; }
.jx-order-settlement > strong { display: block; margin: 2px 0 5px; color: #27804a; font-size: 25px; }
.jx-order-settlement > strong.is-loss { color: #a46a18; }
.jx-order-result { margin-top: 12px; }
.jx-order-draw { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 8px; }
.jx-order-draw > span { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 2px; padding: 6px 1px; border-radius: 6px; background: #f2f2f2; }
.jx-order-draw > span strong { font-size: 15px; }
.jx-order-draw > span small { font-size: 11px; }
.jx-order-note { margin: 10px 0 0; color: #777; font-size: 12px; line-height: 1.5; }
.jx-order-actions { display: flex; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #eee8df; }
.jx-order-actions[hidden] { display: none; }
.jx-order-actions .btn { min-height: 44px; flex: 1; }
.jx-orders-error { margin: 8px 0; padding: 10px 12px; border-radius: 8px; background: #fff1ef; color: #9c3f35; font-size: 13px; line-height: 1.5; }
.jx-orders-error button { margin-left: 8px; border: 0; background: transparent; color: inherit; text-decoration: underline; }
.jx-orders-refresh-time { padding: 8px 4px 18px; color: #888; font-size: 11px; text-align: center; }
@media (max-width: 360px) {
  .jx-order-card { padding: 12px; }
  .jx-order-card > header > strong { font-size: 15px; }
  .jx-order-item { padding-right: 4px; padding-left: 4px; }
}
