/* Every role uses the merchant profile layout; role-specific wallet and menus remain separate. */
.safe-page.mine-page.lauren-profile-unified { padding-top: 28px; }
.mine-page.lauren-profile-unified .lauren-mine-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.mine-page.lauren-profile-unified .edit-pill { flex-shrink: 0; }
.mine-page.lauren-profile-unified .promoter-badge {
  height: 22px;
  padding: 0 9px 0 4px;
  gap: 4px;
  font-size: 11px;
  white-space: nowrap;
}
.mine-page.lauren-profile-unified .badge-medal {
  width: 22px;
  height: 22px;
  margin-left: -4px;
  font-size: 13px;
  box-sizing: border-box;
}

/* P3 history cards only. Keep every number and row; no scale or clipping. */
.detail-page .period-item.lauren-p3-history {
  min-height: 0 !important;
  margin-bottom: 7px !important;
  padding: 0 0 7px 2px !important;
}
.record-page .record-card.lauren-p3-history {
  min-height: 0 !important;
  margin-bottom: 8px !important;
  padding: 9px 8px 7px !important;
  border-radius: 6px !important;
}
.detail-page .lauren-p3-history > .period-head,
.record-page .lauren-p3-history > .record-title {
  min-height: 16px;
  padding: 0 28px 0 20px !important;
  font-size: 11px !important;
  line-height: 15px !important;
  overflow-wrap: anywhere;
}
.detail-page .lauren-p3-history .period-head .pack-icon,
.record-page .lauren-p3-history .record-title .pack-icon {
  width: 12px;
  height: 16px;
  margin-right: 4px !important;
  border-radius: 3px;
}
.lauren-p3-history .pack-icon::before {
  width: 9px;
  height: 2px;
  left: 1.5px;
  top: 7px;
}
.lauren-p3-history .pack-icon::after {
  width: 4px;
  height: 4px;
  left: 4px;
  top: 6px;
}
.detail-page .period-item.lauren-p3-history > .period-paid,
.record-page .record-card.lauren-p3-history > .record-paid {
  box-sizing: border-box;
  width: 100%;
  margin-top: 6px !important;
  font-size: 10px !important;
  line-height: 1.4 !important;
}
.detail-page .lauren-p3-history > .period-time,
.record-page .lauren-p3-history > .record-bottom,
.record-page .lauren-p3-history > .record-bottom text:first-child {
  margin-top: 5px !important;
  font-size: 10px !important;
  line-height: 14px;
}
.record-page .lauren-p3-history > .record-bottom {
  flex-wrap: wrap;
  gap: 2px 8px;
}
.detail-page .lauren-p3-history > .public-ribbon,
.record-page .lauren-p3-history > .public-ribbon {
  width: 32px !important;
  height: 32px !important;
}
.detail-page .lauren-p3-history > .public-ribbon {
  left: -8px !important;
  transform: translateY(-2px) !important;
}
.detail-page .lauren-p3-history > .public-ribbon::after,
.record-page .lauren-p3-history > .public-ribbon::after {
  left: 1px !important;
  top: 7px !important;
  font-size: 10px !important;
}
.detail-page .lauren-p3-history > .result-stamp,
.record-page .record-card.lauren-p3-history > .result-stamp {
  right: 2px !important;
  top: 0 !important;
  width: 23px !important;
  height: 23px !important;
  border-width: 1px;
  font-size: 11px !important;
}
.record-page .record-card.lauren-p3-history > .result-stamp {
  right: 8px !important;
  top: 8px !important;
}
.lauren-p3-history > .result-stamp::before {
  inset: 2px;
}
.lauren-p3-history .lauren-fc3d-layout {
  padding: 0 6px 7px;
  border-radius: 6px;
}
.lauren-p3-history .lauren-fc3d-heading {
  min-height: 24px;
  gap: 9px;
  font-size: 12px;
  line-height: 16px;
}
.lauren-p3-history .lauren-fc3d-panel {
  padding: 7px 5px;
}
.lauren-p3-history .lauren-fc3d-row {
  gap: 5px;
  margin-bottom: 7px;
  line-height: 14px;
}
.lauren-p3-history .lauren-fc3d-row:last-child {
  margin-bottom: 0;
}
.lauren-p3-history .lauren-fc3d-layout .lauren-fc3d-label {
  flex-basis: 44px;
  padding-top: 2px;
  font-size: 10px;
  line-height: 14px;
}
.lauren-p3-history .lauren-fc3d-values {
  gap: 4px;
}
.lauren-p3-history .lauren-fc3d-token {
  min-width: 27px;
  min-height: 18px;
  padding: 1px 4px;
  border-radius: 2px;
  font-size: 10px;
  line-height: 14px;
}
.lauren-p3-history .lauren-fc3d-single .lauren-fc3d-token,
.lauren-p3-history .lauren-fc3d-pool .lauren-fc3d-token {
  min-width: 18px;
  padding: 1px 3px;
}
.lauren-p3-history .lauren-fc3d-positions-group {
  gap: 4px;
}
.lauren-p3-history .lauren-fc3d-position {
  border-radius: 2px;
  font-size: 10px;
  line-height: 14px;
}
.lauren-p3-history .lauren-fc3d-position-label,
.lauren-p3-history .lauren-fc3d-position-digits {
  padding: 1px;
  font-size: 10px;
  line-height: 14px;
}
.lauren-p3-history .lauren-fc3d-raw {
  margin-bottom: 6px;
  font-size: 10px;
  line-height: 1.4;
}
.lauren-p3-history .lauren-fc3d-raw:last-child {
  margin-bottom: 0;
}
.lauren-p3-history .lauren-history-check-row {
  gap: 5px;
  margin-top: 7px;
}
.lauren-p3-history .lauren-history-check-label {
  font-size: 10px;
  line-height: 16px;
}
.lauren-p3-history .lauren-history-check-balls {
  gap: 4px;
}
.lauren-p3-history .lauren-history-check-ball {
  flex-basis: 16px;
  width: 16px;
  height: 16px;
  font-size: 10px;
  box-shadow: none;
}
/* Keep older, unstructured P3 rows equally compact without hiding raw text. */
.lauren-p3-history .lauren-history-paid-layout {
  font-size: 10px;
  line-height: 1.4;
}
.lauren-p3-history .lauren-history-paid-layout .lauren-paid-balls {
  margin: 4px auto;
  padding: 4px 5px;
  gap: 4px;
}
.lauren-p3-history .lauren-history-paid-layout .lauren-paid-ball,
.lauren-p3-history .lauren-history-paid-layout .lauren-paid-number-group > .lauren-paid-ball,
.lauren-p3-history .lauren-history-paid-layout .lauren-paid-compound-group > .lauren-paid-ball {
  width: 16px;
  height: 16px;
  font-size: 10px;
}
.detail-page .lauren-p3-history .period-paid .check-ball,
.record-page .lauren-p3-history .record-paid .check-ball {
  width: 16px !important;
  height: 16px !important;
  margin: 0 2px !important;
  font-size: 10px !important;
}
