:root {
  --sky-25: #f8fbff;
  --sky-50: #eef7ff;
  --sky-100: #dceefe;
  --sky-200: #c5e1fb;
  --sky-300: #8dc2f6;
  --sky-400: #56a8ee;
  --sky-500: #2d8be4;
  --sky-600: #1c6fc2;
  --sky-700: #18599a;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-500: #64748b;
  --border-soft: rgba(148, 163, 184, 0.28);
  --shadow-soft: 0 22px 48px rgba(15, 23, 42, 0.08);
  --shadow-panel: 0 14px 34px rgba(56, 189, 248, 0.08);
}

html {
  font-size: 15px;
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--slate-800);
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.28), transparent 28%),
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.35), transparent 24%),
    linear-gradient(180deg, #f9fcff 0%, #eef6ff 48%, #f8fbff 100%);
}

a {
  color: inherit;
}

[x-cloak] {
  display: none !important;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
}

.site-container {
  width: min(1180px, calc(100% - 1.5rem));
  margin: 0 auto;
}

.app-surface {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(191, 219, 254, 0.65);
  box-shadow: var(--shadow-soft);
}

.app-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-panel);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.72rem 1.1rem;
  border-radius: 0.95rem;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--sky-500), var(--sky-600));
  box-shadow: 0 12px 24px rgba(45, 139, 228, 0.24);
}

.btn-primary:hover:not(:disabled) {
  box-shadow: 0 16px 30px rgba(45, 139, 228, 0.28);
}

.btn-dark {
  color: #fff;
  background: linear-gradient(135deg, #334155, #1e293b);
  box-shadow: 0 12px 24px rgba(30, 41, 59, 0.18);
}

.btn-success {
  color: #fff;
  background: linear-gradient(135deg, #0ea5a4, #0284c7);
  box-shadow: 0 12px 24px rgba(8, 145, 178, 0.2);
}

.btn-outline-secondary {
  color: var(--sky-700);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(56, 189, 248, 0.28);
}

.btn-outline-secondary:hover:not(:disabled) {
  background: rgba(239, 246, 255, 0.96);
}

.tool-shell {
  display: grid;
  gap: 1.5rem;
}

.home-card-grid,
.tool-grid,
.tool-badge-board,
.metric-grid,
.detail-grid {
  display: grid;
  gap: 1rem;
}

.home-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.tool-badge-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-pricing-card {
  position: relative;
  text-align: center;
}

.tool-pricing-card--with-badge {
  padding-top: 1.9rem;
}

.tool-pricing-badge {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -52%);
  margin: 0;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4d4f, #ef4444);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 16px rgba(239, 68, 68, 0.25);
}

.tool-pricing-label {
  display: block;
}

.tool-pricing-value {
  display: block;
  margin-top: 0.42rem;
}

.tool-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
}

/* 钱包页：汇总信息块、推荐链接块各占一整行，上下排列（非左右分栏） */
.wallet-page-top-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
}

.wallet-page-top-stack > .wallet-top-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  min-height: 0;
}

.wallet-top-card .wallet-top-card__dashboard {
  flex: 1 1 auto;
  min-height: 0;
  align-content: start;
}

.wallet-referral-invitees-panel {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 0.25rem;
}

.wallet-referral-invitee-host.wallet-table-host {
  flex: 1 1 auto;
  min-height: 200px;
}

.tool-form,
.rules-card,
.translation-records,
.task-detail,
.detail-block {
  display: grid;
  gap: 1rem;
}

.tool-step-card {
  display: grid;
  gap: 0.9rem;
  padding: 1rem 1.05rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(191, 219, 254, 0.62);
  background: rgba(255, 255, 255, 0.7);
}

.tool-step-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.tool-step-head h3 {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--slate-800);
}

.tool-step-index {
  width: 1.72rem;
  height: 1.72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--sky-500), var(--sky-600));
  box-shadow: 0 6px 12px rgba(45, 139, 228, 0.18);
}

.panel-heading,
.section-title,
.detail-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding-bottom: 6px;
}

.panel-heading h2,
.section-title h3,
.detail-block h4,
.detail-header h3 {
  margin: 0;
}

.panel-heading p,
.section-title span,
.tool-lead {
  color: var(--slate-500);
}

.form-row label,
.form-row input,
.form-row select {
  display: block;
  width: 100%;
}

.form-row label {
  margin-bottom: 0.45rem;
  font-weight: 600;
  color: var(--slate-700);
}

.form-row input,
.form-row select,
.query-bar input {
  min-height: 3rem;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.96);
  color: var(--slate-800);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.form-row select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%2394a3b8' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: calc(100% - 12px) 50%;
  background-size: 12px 12px;
  background-repeat: no-repeat;
}

.form-row select::-ms-expand {
  display: none;
}

.form-row input:focus,
.form-row select:focus,
.query-bar input:focus {
  outline: none;
  border-color: rgba(45, 139, 228, 0.55);
  box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.18);
}

.readonly-field {
  min-height: 3rem;
  display: flex;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(239, 246, 255, 0.92));
  color: var(--slate-700);
}

.form-split {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.drop-zone {
  position: relative;
  border-radius: 1.3rem;
  border: 1.5px dashed rgba(56, 189, 248, 0.55);
  background:
    radial-gradient(circle at top, rgba(191, 219, 254, 0.48), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.92));
  overflow: hidden;
  min-height: 200px;
}

.drop-zone.dragover {
  border-color: rgba(14, 165, 233, 0.95);
  background:
    radial-gradient(circle at top, rgba(125, 211, 252, 0.36), transparent 52%),
    linear-gradient(180deg, rgba(240, 249, 255, 1), rgba(224, 242, 254, 0.94));
}

.drop-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.drop-zone-copy {
  min-height: 200px;
  padding: 1.25rem;
  display: grid;
  place-items: center;
  gap: 0.55rem;
  text-align: center;
}

.drop-file-name {
  max-width: 100%;
  color: var(--slate-500);
  overflow-wrap: anywhere;
}

.query-bar,
.action-row,
.detail-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.query-bar input {
  flex: 1 1 auto;
}

.form-message {
    min-height: 1.35rem;
    font-size: 0.95rem;
    color: var(--slate-500);
    padding-bottom: 6px;
    padding-top: 6px;
}

.form-message.success {
  color: #0f766e;
}

.form-message.error {
  color: #b91c1c;
}

.task-detail.empty {
  border: 1px dashed rgba(148, 163, 184, 0.4);
  border-radius: 1.3rem;
  padding: 1.25rem;
  color: var(--slate-500);
  background: rgba(255, 255, 255, 0.55);
}

.translation-records {
  margin-top: 1.25rem;
}

.translation-records__header,
.translation-record,
.translation-record__file,
.translation-record__summary,
.translation-record__actions,
.translation-records__title-wrap {
  display: flex;
  align-items: center;
}

.translation-records__header {
  justify-content: space-between;
  gap: 1rem;
}

.translation-records__title-wrap {
  gap: 0.5rem;
}

.translation-records__title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.95rem;
}

.translation-records__hint {
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
  color: var(--slate-500);
}

.translation-records__manage {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--slate-700);
  font-weight: 600;
  cursor: pointer;
}

.translation-records__list {
  display: grid;
  gap: 0.9rem;
}

.translation-records__toolbar,
.translation-records__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.record-status-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.record-status-filters button {
  min-height: 2.2rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(191, 219, 254, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--slate-700);
  font-weight: 600;
  cursor: pointer;
}

.record-status-filters button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--sky-500), var(--sky-600));
  box-shadow: 0 10px 20px rgba(45, 139, 228, 0.18);
}

.translation-record {
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.96);
}

.translation-record__file {
  min-width: 0;
  gap: 0.9rem;
  flex: 1 1 40%;
}

.translation-record__file-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
  color: #2563eb;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(191, 219, 254, 0.95);
}

.translation-record__file-icon.is-excel {
  background: linear-gradient(180deg, #ecfdf5, #d1fae5);
  color: #059669;
  box-shadow: inset 0 0 0 1px rgba(167, 243, 208, 0.95);
}

.translation-record__file-meta {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.translation-record__file-meta strong,
.translation-record__summary span {
  white-space: nowrap;
}

.translation-record__file-meta strong {
  overflow: hidden;
  text-overflow: ellipsis;
}

.translation-record__file-meta span {
  font-size: 0.9rem;
  color: var(--slate-500);
}

.translation-record__summary {
  gap: 1.25rem;
  color: var(--slate-700);
  font-size: 0.95rem;
}

.translation-record__status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.translation-record__status::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: currentColor;
}

.translation-record__status.is-success {
  color: #16a34a;
}

.translation-record__status.is-success::before {
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.translation-record__status.is-processing {
  color: #0284c7;
}

.translation-record__status.is-processing::before {
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.translation-record__status.is-pending {
  color: #d97706;
}

.translation-record__status.is-pending::before,
.translation-record__status.is-paused::before {
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.translation-record__status.is-paused {
  color: #ca8a04;
}

.translation-record__status.is-failed {
  color: #dc2626;
}

.translation-record__status.is-failed::before {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.translation-record__actions {
  gap: 0.55rem;
}

.translation-record__actions a,
.translation-record__actions button {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.95);
  color: var(--slate-700);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.translation-record__actions a:hover,
.translation-record__actions button:hover {
  background: rgba(226, 232, 240, 0.96);
  transform: translateY(-1px);
}

.translation-records__empty {
  border: 1px dashed rgba(148, 163, 184, 0.36);
  border-radius: 1.2rem;
  padding: 1rem 1.15rem;
  color: var(--slate-500);
  background: rgba(255, 255, 255, 0.62);
}

.record-manage-modal[hidden] {
  display: none;
}

.record-manage-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.record-manage-dialog {
  position: fixed;
  left: 50%;
  top: 50%;
  width: min(1040px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  transform: translate(-50%, -50%);
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
  padding: 1.5rem;
}

.record-manage-header,
.record-manage-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.record-manage-dialog .translation-records__list {
  margin-top: 1rem;
}

.record-manage-pageinfo {
  color: var(--slate-500);
  font-weight: 600;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.36rem 0.78rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.status-pending {
  color: #92400e;
  background: rgba(251, 191, 36, 0.18);
}

.status-processing {
  color: #1d4ed8;
  background: rgba(96, 165, 250, 0.16);
}

.status-paused {
  color: #6d28d9;
  background: rgba(196, 181, 253, 0.24);
}

.status-completed {
  color: #0f766e;
  background: rgba(94, 234, 212, 0.22);
}

.status-failed {
  color: #b91c1c;
  background: rgba(252, 165, 165, 0.24);
}

.progress-panel {
  min-width: 0;
  width: min(220px, 100%);
  text-align: right;
}

.progress-track {
  height: 0.72rem;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: rgba(191, 219, 254, 0.55);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #38bdf8, #2563eb);
}

.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-grid div,
.detail-grid div,
.detail-block {
  padding: 1rem;
  border-radius: 1.15rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.94), rgba(239, 246, 255, 0.86));
  border: 1px solid rgba(191, 219, 254, 0.72);
}

.metric-grid dt,
.detail-grid dt {
  font-size: 0.82rem;
  color: var(--slate-500);
}

.metric-grid dd,
.detail-grid dd {
  margin: 0.35rem 0 0;
  font-weight: 600;
  color: var(--slate-800);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.detail-header > :first-child {
  min-width: 0;
  flex: 1 1 auto;
}

.detail-header h3 {
  margin-top: 0.45rem;
  overflow-wrap: anywhere;
}

.detail-block ul {
  margin: 0;
  padding-left: 1.1rem;
}

.file-missing {
  color: #b91c1c;
  font-weight: 600;
}

.modal-open {
  overflow: hidden;
}

.contact-float-button {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.05rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #14b8a6, #10b981);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.28);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.contact-float-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 46px rgba(16, 185, 129, 0.32);
}

.contact-float-button__icon {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.95rem;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(8px);
}

.contact-modal__dialog {
  position: relative;
  width: min(760px, calc(100vw - 2rem));
  margin: min(8vh, 4rem) auto;
  padding: 1.5rem;
  border-radius: 1.8rem;
  border: 1px solid rgba(191, 219, 254, 0.85);
  background:
    radial-gradient(circle at top, rgba(167, 243, 208, 0.32), transparent 34%),
    rgba(255, 255, 255, 0.98);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.2);
}

.contact-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.9);
  color: var(--slate-700);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.contact-modal__eyebrow {
  margin: 0;
  color: #059669;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-modal__title {
  margin: 0.6rem 0 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--slate-800);
}

.contact-modal__hint {
  margin: 0.7rem 0 0;
  color: var(--slate-500);
  line-height: 1.7;
}

.contact-modal__grid {
  margin-top: 1.35rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(8px);
}

.auth-modal__dialog {
  position: relative;
  width: min(100%, 32rem);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 28px 68px rgba(15, 23, 42, 0.1),
    0 10px 28px rgba(56, 189, 248, 0.08);
}

.auth-modal__title {
  margin: 1rem 0 0;
  font-size: clamp(2rem, 5vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--slate-800);
}

.contact-card {
  margin: 0;
  padding: 0.85rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(191, 219, 254, 0.8);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-panel);
}

.contact-card__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.home-tool-card {
  display: grid;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.home-tool-card__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-preview-button {
  min-height: 2.6rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(248, 113, 113, 0.4);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.96);
  color: #ef4444;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(248, 113, 113, 0.12);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.home-preview-button:hover {
  transform: translateY(-1px);
  background: rgba(254, 242, 242, 0.96);
  box-shadow: 0 14px 26px rgba(248, 113, 113, 0.16);
}

.home-tool-card__link {
  width: fit-content;
  text-decoration: none;
}

.home-preview-modal[hidden] {
  display: none;
}

.home-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 85;
}

.home-preview-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(8px);
}

.home-preview-modal__dialog {
  position: relative;
  width: min(1120px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  margin: 1rem auto;
  padding: 1.35rem;
  overflow: auto;
  border-radius: 1.8rem;
  border: 1px solid rgba(191, 219, 254, 0.9);
  background:
    radial-gradient(circle at top, rgba(191, 219, 254, 0.34), transparent 38%),
    rgba(255, 255, 255, 0.98);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.2);
}

.home-preview-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.9);
  color: var(--slate-700);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.home-preview-modal__eyebrow {
  margin: 0;
  color: var(--sky-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-preview-modal__title {
  margin: 0.5rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--slate-800);
}

.home-preview-modal__frame {
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 1.4rem;
  border: 1px solid rgba(191, 219, 254, 0.72);
  background: #fff;
}

.home-preview-modal__image {
  display: block;
  width: 100%;
  height: auto;
}

.account-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.account-menu[hidden] {
  display: none !important;
}

.account-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.42rem 0.8rem 0.42rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.75);
  background: rgba(255, 255, 255, 0.82);
}

.account-chip-button {
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.account-chip-button:hover,
.account-menu.is-open .account-chip-button,
.account-menu:focus-within .account-chip-button {
  border-color: rgba(64, 151, 245, 0.45);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 24px rgba(45, 139, 228, 0.12);
}

.account-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  object-fit: cover;
  background: rgba(191, 219, 254, 0.75);
}

.account-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-700);
  font-weight: 700;
}

.account-avatar-fallback[hidden] {
  display: none !important;
}

.account-menu__chevron {
  color: var(--slate-500);
  font-size: 0.78rem;
}

.account-menu__panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  min-width: 17.5rem;
  max-width: calc(100vw - 1.5rem);
  padding: 0;
  border-radius: 0.5rem;
  border: 1px solid #eeeeee;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 20;
}

.account-menu__surface {
  padding: 1rem 1.15rem;
}

.account-menu:hover .account-menu__panel,
.account-menu:focus-within .account-menu__panel,
.account-menu.is-open .account-menu__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.account-menu__section {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.account-menu__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 2rem;
}

.account-menu__toolbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.account-menu__logout-form {
  margin: 0;
}

.account-menu__nav-row {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  flex: 1;
  padding: 0.15rem 0;
  border: 0;
  background: transparent;
  color: #333333;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0.25rem;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.account-menu__nav-row:hover {
  color: #1d4d8d;
  background-color: rgba(0, 0, 0, 0.03);
}

.account-menu__nav-label {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.account-menu__icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  color: #666666;
}

.account-menu__icon--sm {
  width: 0.95rem;
  height: 0.95rem;
}

.account-menu__icon--chevron {
  width: 0.95rem;
  height: 0.95rem;
  margin-left: auto;
}

.account-menu__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: #666666;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.account-menu__icon-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #333333;
}

.account-menu__logout {
  padding: 0.28rem 0.65rem;
  border-radius: 0.25rem;
  border: 1px solid #dddddd;
  background: #ffffff;
  color: #333333;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.account-menu__logout:hover {
  border-color: #cccccc;
  background: #fafafa;
}

.account-menu__profile {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.account-menu__panel-avatar-wrap {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
}

.account-menu__panel-avatar {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  background: #3370ff;
}

.account-menu__panel-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #3370ff;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

.account-menu__panel-avatar-fallback[hidden] {
  display: none !important;
}

.account-menu__profile-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  flex: 1;
}

.account-menu__inline-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.account-menu__inline-row--meta {
  margin-top: 0.05rem;
}

.account-menu__profile-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #333333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu__profile-id {
  font-size: 0.75rem;
  color: #888888;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.account-menu__copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 0.25rem;
  background: transparent;
  color: #999999;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.account-menu__copy-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #666666;
}

.account-menu__divider {
  height: 1px;
  margin: 0.85rem 0;
  background: #f0f0f0;
}

.account-menu__balance-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.1rem;
}

.account-menu__balance-label {
  font-size: 0.75rem;
  color: #888888;
}

.account-menu__balance-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ff6a00;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.auth-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0.35rem;
  border-radius: 1rem;
  background: rgba(239, 246, 255, 0.85);
  border: 1px solid rgba(191, 219, 254, 0.7);
}

.auth-switch-btn {
  min-height: 2.8rem;
  border: 0;
  border-radius: 0.85rem;
  background: transparent;
  color: var(--slate-500);
  font-weight: 700;
  cursor: pointer;
}

.auth-switch-btn.is-active {
  color: var(--sky-700);
  background: #fff;
  box-shadow: 0 8px 20px rgba(45, 139, 228, 0.12);
}

.auth-switch--tabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(191, 219, 254, 0.75);
  gap: 0;
}

.auth-switch--tabs .auth-switch-btn {
  border-radius: 0;
  min-height: 3rem;
  border-bottom: 3px solid transparent;
  background: transparent;
}

.auth-switch--tabs .auth-switch-btn.is-active {
  background: transparent;
  box-shadow: none;
  color: var(--sky-700);
  border-bottom-color: var(--sky-600);
}

.auth-wechat-block {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  text-align: center;
}

.auth-wechat-title {
  margin: 0.5rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-800);
}

.auth-wechat-sub {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0d9488;
}

.auth-qr-wrap {
  margin-top: 0.5rem;
  padding: 0.75rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.auth-qr-img {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: contain;
}

.auth-qr-status {
  min-height: 1.25rem;
}

.auth-form-title {
  margin: 0;
}

.auth-legal-hint a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-panel {
  display: none;
  gap: 1rem;
}

.auth-panel.is-active {
  display: grid;
}

.auth-layout {
  min-height: calc(100vh - 12rem);
  display: grid;
  align-items: center;
}

.auth-shell {
  display: flex;
  justify-content: center;
}

.auth-card {
  width: min(100%, 32rem);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 28px 68px rgba(15, 23, 42, 0.1),
    0 10px 28px rgba(56, 189, 248, 0.08);
}

.auth-header {
  text-align: center;
}

.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.95);
  background: rgba(255, 255, 255, 0.84);
  color: var(--sky-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.auth-title {
  margin: 1rem 0 0;
  font-size: clamp(2rem, 5vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--slate-800);
}

.auth-subtitle {
  margin: 0.9rem auto 0;
  max-width: 28rem;
  color: var(--slate-500);
  font-size: 1rem;
  line-height: 1.8;
}

.auth-alert {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.auth-alert-error {
  color: #b91c1c;
  border: 1px solid rgba(248, 113, 113, 0.24);
  background: rgba(254, 242, 242, 0.92);
}

.auth-actions {
  margin-top: 0.4rem;
}

.auth-inline-message {
  margin-top: 0.15rem;
}

.auth-divider {
  position: relative;
  margin: 1.4rem 0 1rem;
  text-align: center;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(191, 219, 254, 0.72);
}

.auth-divider span {
  position: relative;
  display: inline-block;
  padding: 0 0.85rem;
  background: rgba(255, 255, 255, 0.88);
  color: var(--slate-500);
  font-size: 0.88rem;
}

.auth-third-party {
  display: grid;
  gap: 0.85rem;
}

.auth-helper {
  margin: 0;
  text-align: center;
  color: var(--slate-500);
  font-size: 0.92rem;
  line-height: 1.7;
}

@media (max-width: 991.98px) {
  .tool-badge-board,
  .tool-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .form-split,
  .metric-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .panel-heading,
  .section-title,
  .detail-header,
  .query-bar,
  .action-row,
  .detail-actions,
  .translation-records__header,
  .translation-record,
  .translation-records__toolbar,
  .translation-records__footer,
  .record-manage-pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .translation-record__summary {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .translation-record__actions {
    justify-content: flex-end;
  }

  .tool-step-head {
    align-items: flex-start;
  }

  .tool-step-head h3 {
    font-size: 1.15rem;
  }

  .site-container {
    width: min(100% - 1rem, 1180px);
  }

  .auth-layout {
    min-height: auto;
  }

  .auth-card {
    width: 100%;
  }

  .contact-float-button {
    right: 1rem;
    bottom: 1rem;
    padding: 0.8rem 0.95rem;
  }

  .contact-float-button__text {
    display: none;
  }

  .contact-modal__dialog {
    width: min(100vw - 1rem, 760px);
    margin: 0.5rem auto;
    padding: 1.2rem;
  }

  .contact-modal__grid {
    grid-template-columns: 1fr;
  }

  .home-tool-card__topbar {
    align-items: flex-start;
  }

  .home-preview-button {
    padding: 0.5rem 0.9rem;
  }

  .home-preview-modal__dialog {
    width: min(100vw - 1rem, 1120px);
    max-height: calc(100vh - 1rem);
    margin: 0.5rem auto;
    padding: 1rem;
  }
}

.feedback-page {
  padding: 1.5rem;
  border-radius: 1.5rem;
}

.feedback-page__header {
  display: grid;
  gap: 0.35rem;
}

.feedback-page__eyebrow {
  margin: 0;
  color: var(--sky-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feedback-page__title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.feedback-page__hint {
  margin: 0;
  color: var(--slate-500);
}

.feedback-form {
  margin-top: 1.25rem;
  display: grid;
  gap: 1.1rem;
}

.feedback-form__row {
  display: grid;
  gap: 0.55rem;
}

.feedback-label {
  font-weight: 600;
  color: var(--slate-700);
}

.feedback-textarea,
.feedback-select,
.feedback-input {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.96);
  color: var(--slate-800);
}

.feedback-textarea {
  min-height: 220px;
  resize: vertical;
  padding: 0.85rem 0.95rem;
}

.feedback-select,
.feedback-input {
  min-height: 3rem;
  padding: 0.85rem 0.95rem;
}

.feedback-textarea:focus,
.feedback-select:focus,
.feedback-input:focus {
  outline: none;
  border-color: rgba(45, 139, 228, 0.55);
  box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.18);
}

.feedback-contact-tip,
.feedback-field-meta {
  margin: 0;
  color: var(--slate-500);
  font-size: 0.9rem;
}

.feedback-upload-zone {
  position: relative;
  border-radius: 1.25rem;
  border: 1.5px dashed rgba(56, 189, 248, 0.55);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.92));
  min-height: 170px;
  overflow: hidden;
}

.feedback-upload-zone--dragover {
  border-color: rgba(14, 165, 233, 0.95);
  background: linear-gradient(180deg, rgba(240, 249, 255, 1), rgba(224, 242, 254, 0.94));
}

.feedback-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.feedback-upload-copy {
  min-height: 170px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  gap: 0.5rem;
  color: var(--slate-500);
}

.feedback-upload-copy strong {
  color: var(--slate-700);
}

.feedback-file-list {
  display: grid;
  gap: 0.6rem;
}

.feedback-file-empty {
  margin: 0;
  padding: 0.8rem 0.95rem;
  border-radius: 0.85rem;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  color: var(--slate-500);
}

.feedback-file-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.94);
}

.feedback-file-name {
  overflow-wrap: anywhere;
}

.feedback-file-size {
  color: var(--slate-500);
  font-size: 0.88rem;
}

.feedback-file-remove {
  border: 0;
  border-radius: 999px;
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  background: rgba(254, 226, 226, 0.9);
  color: #b91c1c;
  font-weight: 600;
  cursor: pointer;
}

.feedback-form__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feedback-submit-loading {
  color: var(--slate-500);
  font-size: 0.92rem;
}

.feedback-message {
  min-height: 1.35rem;
  margin: 0;
  color: var(--slate-500);
}

.feedback-message.success {
  color: #0f766e;
}

.feedback-message.error {
  color: #b91c1c;
}

/* 钱包页：流水与额度批次上下堆叠（桌面端不再与 tool-grid 两列并排） */
.wallet-tables-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  min-width: 0;
}

/* 与标题同宽：避免宽表格撑破卡片，横向滚动发生在表体区域 */
.wallet-tables-stack > .app-card {
  min-width: 0;
  max-width: 100%;
}

/* 钱包页：流水与额度批次表格 */
.wallet-table-host {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* Grid.js：与原先手写表格一致的边框；外层不随表宽膨胀，内部横向滚动 */
.wallet-table-host .gridjs-container,
.wallet-table-host .wallet-gridjs-container {
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  overflow: hidden;
}

    .wallet-table-host .gridjs-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

.wallet-table-host .gridjs-table {
  width: max-content;
  min-width: 100%;
  max-width: none;
  table-layout: auto;
}

.wallet-table-host .gridjs-footer {
  margin-top: 0.65rem;
  max-width: 100%;
}

/* 钱包汇总：可用 / 赠送 / 消费数值字号 */
.detail-grid dd.wallet-dashboard__sum-lg {
  font-size: 32px;
  line-height: 1.25;
}

/* 钱包汇总：语义配色 */
.detail-grid dd.wallet-dashboard__balance {
  color: #15803d;
}

.detail-grid dd.wallet-dashboard__gift {
  color: #1d4ed8;
}

/* 与其它汇总项同高：金额与统计同一行横向排列，窄屏可横向滚动不换行 */
.detail-grid dd.wallet-dashboard__rebate {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.35rem 0 0;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.wallet-dashboard__rebate-amount {
  color: #0284c7;
  font-weight: 600;
  flex: 0 0 auto;
  font-size:32px;
}

.wallet-dashboard__rebate-meta {
  font-size: 0.88em;
  font-weight: 500;
  color: #38bdf8;
  white-space: nowrap;
  flex: 0 1 auto;
  min-width: 0;
}

/* 额度批次：状态着色（与枚举展示文案对应） */
.wallet-batch-status {
  font-weight: 600;
}

.wallet-batch-status--Available {
  color: #15803d;
}

.wallet-batch-status--Exhausted {
  color: #c2410c;
}

.wallet-batch-status--Expired {
  color: #b91c1c;
}

.wallet-batch-status--unknown {
  color: var(--slate-700);
}

/* 订单页：支付状态（与 PaymentStatus 枚举名一致，供 Grid 内联 class） */
.order-pay-status {
  font-weight: 600;
  font-size: 0.92em;
}

.order-pay-status--Initial {
  color: #64748b;
}

.order-pay-status--Created {
  color: #1d4ed8;
}

.order-pay-status--Paid {
  color: #15803d;
}

.order-pay-status--Error {
  color: #b91c1c;
}

.order-pay-status--Canceled {
  color: #64748b;
}

.order-pay-status--Expired {
  color: #b45309;
}

.order-pay-status--unknown {
  color: var(--slate-700);
}

.order-grid-actions--row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.order-grid-btn {
  min-height: 2.1rem;
  padding: 0.38rem 0.9rem;
  font-size: 0.88rem;
}

/* 钱包页：我推荐的用户（Grid.js 容器标题） */
.wallet-referral-invitees__heading {
  margin: 0 0 0.25rem;
  flex: 0 0 auto;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}

.wallet-grid-cell--ellipsis {
  display: inline-block;
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: top;
}

@media (min-width: 1024px) {
  .wallet-grid-cell--ellipsis {
    max-width: 14rem;
  }
}

.wallet-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.wallet-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  color: var(--slate-800);
}

.wallet-data-table thead th {
  text-align: left;
  padding: 0.55rem 0.65rem;
  font-weight: 600;
  color: var(--slate-700);
  background: rgba(241, 245, 249, 0.95);
  border-bottom: 1px solid rgba(148, 163, 184, 0.45);
  white-space: nowrap;
}

.wallet-data-table tbody td {
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  vertical-align: top;
}

.wallet-data-table tbody tr:last-child td {
  border-bottom: none;
}

.wallet-table-cell--ellipsis {
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .wallet-table-cell--ellipsis {
    max-width: 14rem;
  }
}
