:root {
  --aoy-surface: #ffffff;
  --aoy-surface-muted: #f8fafc;
  --aoy-border: #e2e8f0;
  --aoy-text: #172033;
  --aoy-text-muted: #64748b;
  --aoy-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.dark {
  --aoy-surface: #26334d;
  --aoy-surface-muted: #202b40;
  --aoy-border: #384766;
  --aoy-text: #e7e9ef;
  --aoy-text-muted: #a3adc2;
  --aoy-shadow: 0 14px 34px rgba(7, 12, 24, 0.2);
}

.aoy-shell,
.aoy-shell-wide,
.aoy-page {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.aoy-shell { max-width: 72rem; }
.aoy-shell-wide { max-width: 80rem; }
.aoy-page { max-width: 84rem; }
.aoy-page.aoy-earning-page { max-width: none; }

.aoy-page-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.aoy-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.25rem;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 52%, #6d28d9 100%);
  box-shadow: 0 18px 40px rgba(49, 46, 129, 0.16);
}

.aoy-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 9.5rem;
  padding: 1.75rem 2rem;
}

.aoy-hero-orb {
  position: absolute;
  width: 15rem;
  height: 15rem;
  right: -4rem;
  top: -5.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.aoy-hero-eyebrow,
.aoy-stat-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.aoy-hero-title {
  margin: 0.35rem 0 0;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.aoy-hero-copy {
  margin: 0.65rem 0 0;
  color: #e0e7ff;
  font-size: 0.9rem;
  line-height: 1.5;
}

.aoy-glass-button {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: none;
}

.aoy-glass-button:hover { background: rgba(255, 255, 255, 0.24); }

.aoy-panel {
  overflow: hidden;
  border: 1px solid var(--aoy-border);
  border-radius: 1rem;
  background: var(--aoy-surface);
  color: var(--aoy-text);
  box-shadow: var(--aoy-shadow);
}

.aoy-panel-body { padding: 1.4rem 1.5rem; }

.aoy-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--aoy-border);
}

.aoy-panel-title,
.aoy-page-title {
  margin: 0;
  color: var(--aoy-text);
  font-weight: 600;
}

.aoy-panel-title { font-size: 1rem; }

.aoy-page-title {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.3;
}

.aoy-page-copy {
  margin: 0.35rem 0 0;
  color: var(--aoy-text-muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.aoy-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.aoy-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.aoy-button {
  display: inline-flex;
  min-height: 2.65rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.62rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  text-decoration: none;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.aoy-button:hover { transform: translateY(-1px); }

.aoy-button-primary {
  color: #fff;
  background: #4f46e5;
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.18);
}

.aoy-button-primary:hover { background: #4338ca; }

.aoy-button-secondary {
  color: var(--aoy-text);
  border-color: var(--aoy-border);
  background: var(--aoy-surface);
}

.aoy-button-secondary:hover { background: var(--aoy-surface-muted); }

.aoy-button-danger {
  color: #dc2626;
  border-color: #fecaca;
  background: #fff;
}

.aoy-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  border: 1px solid;
  border-radius: 0.8rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.aoy-alert-warning {
  color: #92400e;
  border-color: #fcd34d;
  background: #fffbeb;
}

.dark .aoy-alert-warning {
  color: #fcd34d;
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(146, 64, 14, 0.18);
}

.aoy-alert-info {
  color: #1e40af;
  border-color: #bfdbfe;
  background: #eff6ff;
}

.dark .aoy-alert-info {
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(30, 64, 175, 0.17);
}

.dark .aoy-button-danger {
  color: #fb923c;
  border-color: rgba(251, 146, 60, 0.35);
  background: var(--aoy-surface);
}

.aoy-stat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.aoy-stat-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 8.25rem;
  overflow: hidden;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--aoy-stat-from), var(--aoy-stat-to));
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09);
}

.aoy-stat-card::after {
  position: absolute;
  z-index: -1;
  width: 7rem;
  height: 7rem;
  right: -2.25rem;
  bottom: -3.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  content: "";
}

.aoy-stat-blue { --aoy-stat-from: #0ea5e9; --aoy-stat-to: #2563eb; }
.aoy-stat-violet { --aoy-stat-from: #7c3aed; --aoy-stat-to: #4f46e5; }
.aoy-stat-pink { --aoy-stat-from: #ec4899; --aoy-stat-to: #e11d48; }
.aoy-stat-green { --aoy-stat-from: #059669; --aoy-stat-to: #0f766e; }
.aoy-stat-orange { --aoy-stat-from: #f59e0b; --aoy-stat-to: #ea580c; }

.aoy-stat-label { color: rgba(255, 255, 255, 0.88); }

.aoy-stat-value {
  margin: 1.05rem 0 0;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.aoy-destination-card {
  display: flex;
  min-height: 8.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--aoy-border);
  border-radius: 1rem;
  color: var(--aoy-text);
  background: var(--aoy-surface);
  box-shadow: var(--aoy-shadow);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.aoy-destination-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.aoy-destination-email {
  margin-top: 0.6rem;
  color: var(--aoy-text);
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.aoy-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.aoy-field-label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--aoy-text-muted);
  font-size: 0.825rem;
  font-weight: 600;
}

.aoy-input,
.aoy-select {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--aoy-border);
  border-radius: 0.7rem;
  color: var(--aoy-text);
  background: var(--aoy-surface);
}

.aoy-input:focus,
.aoy-select:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.13);
}

.aoy-empty-state {
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.aoy-empty-state .aoy-button {
  width: min(100%, 28rem);
  margin-top: 1rem;
}

.aoy-empty-icon {
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border-radius: 9999px;
  color: #4f46e5;
  background: #eef2ff;
}

.dark .aoy-empty-icon {
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.16);
}

.aoy-publisher-banner {
  padding: 1.4rem 1.5rem;
  border-radius: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #6d28d9 0%, #4f46e5 100%);
  box-shadow: 0 14px 30px rgba(79, 70, 229, 0.17);
}

.aoy-publisher-banner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.aoy-publisher-link-control {
  display: flex;
  width: min(100%, 36rem);
}

.aoy-publisher-link-control input {
  min-width: 0;
  flex: 1 1 auto;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-right: 0;
  border-radius: 0.7rem 0 0 0.7rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.aoy-publisher-link-control input:focus {
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: none;
}

.aoy-publisher-link-control button {
  border-radius: 0 0.7rem 0.7rem 0;
  color: #312e81;
  background: #fff;
}

.aoy-publisher-link-control button:hover {
  color: #312e81;
  background: #eef2ff;
}

.aoy-table-wrap {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
}

.aoy-table,
.aoy-table-wide {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.aoy-table th,
.aoy-table-wide th {
  padding: 0.8rem 1.1rem;
  color: #52627d;
  background: #eef2f7;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.aoy-table td,
.aoy-table-wide td {
  padding: 0.9rem 1.1rem;
  color: var(--aoy-text);
  border-bottom: 1px solid var(--aoy-border);
  font-size: 0.825rem;
  vertical-align: middle;
}

.aoy-table tbody tr:last-child td,
.aoy-table-wide tbody tr:last-child td { border-bottom: 0; }

.aoy-table tbody tr:hover td,
.aoy-table-wide tbody tr:hover td { background: #f8fafc; }

.dark .aoy-table th,
.dark .aoy-table-wide th {
  color: #aeb8cc;
  background: #202b40;
}

.dark .aoy-table tbody tr:hover td,
.dark .aoy-table-wide tbody tr:hover td { background: #2b3955; }

.aoy-table-empty {
  padding: 2.4rem 1rem !important;
  color: var(--aoy-text-muted) !important;
  text-align: center;
}

.aoy-table-secondary {
  margin-top: 0.15rem;
  color: var(--aoy-text-muted);
  font-size: 0.75rem;
  overflow-wrap: anywhere;
}

.aoy-code-link {
  display: inline-block;
  margin-top: 0.2rem;
  color: #4f46e5;
  font-size: 0.75rem;
  overflow-wrap: anywhere;
}

.dark .aoy-code-link { color: #a5b4fc; }

.aoy-inline-form {
  display: flex;
  min-width: 13rem;
  align-items: center;
  gap: 0.55rem;
}

.aoy-inline-form .aoy-select {
  min-height: 2.3rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  font-size: 0.75rem;
}

.aoy-inline-form .aoy-button {
  min-height: 2.3rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
}

.aoy-network-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.aoy-network-card-active {
  border-color: rgba(79, 70, 229, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.09), var(--aoy-shadow);
}

.aoy-wallet-notice,
.aoy-browser-card,
.aoy-legacy-wallet {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--aoy-border);
  border-radius: 1rem;
  color: var(--aoy-text);
  background: var(--aoy-surface);
  box-shadow: var(--aoy-shadow);
}

.aoy-wallet-notice {
  border-color: rgba(79, 70, 229, 0.2);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.07), rgba(14, 165, 233, 0.05));
}

.aoy-wallet-notice p,
.aoy-browser-copy p,
.aoy-legacy-copy p,
.aoy-panel-header p {
  margin: 0.25rem 0 0;
  color: var(--aoy-text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.aoy-wallet-notice-icon,
.aoy-browser-icon,
.aoy-wallet-icon {
  display: inline-flex;
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  color: #4f46e5;
  background: #eef2ff;
}

.dark .aoy-wallet-notice-icon,
.dark .aoy-browser-icon,
.dark .aoy-wallet-icon {
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.16);
}

.aoy-wallet-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 19rem;
  flex-direction: column;
  padding: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--aoy-border);
  border-radius: 1rem;
  color: var(--aoy-text);
  background: var(--aoy-surface);
  box-shadow: var(--aoy-shadow);
}

.aoy-wallet-card.is-active {
  border-color: rgba(79, 70, 229, 0.55);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.09), var(--aoy-shadow);
}

.aoy-wallet-card.is-active::before {
  position: absolute;
  inset: 0 0 auto;
  height: 0.25rem;
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
  content: "";
}

.aoy-wallet-card-top,
.aoy-wallet-actions,
.aoy-wallet-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.aoy-wallet-status {
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  color: var(--aoy-text-muted);
  background: var(--aoy-surface-muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.aoy-wallet-status.is-active {
  color: #047857;
  background: #ecfdf5;
}

.dark .aoy-wallet-status.is-active {
  color: #6ee7b7;
  background: rgba(5, 150, 105, 0.14);
}

.aoy-wallet-name { margin-top: 1.1rem; }

.aoy-wallet-name h2,
.aoy-legacy-copy h2,
.aoy-browser-copy h2,
.aoy-panel-header h2 {
  margin: 0;
  color: var(--aoy-text);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.aoy-wallet-name p {
  margin: 0.3rem 0 0;
  color: var(--aoy-text-muted);
  font-size: 0.75rem;
}

.aoy-wallet-balance {
  margin: 1.2rem 0;
  padding: 1rem;
  border-radius: 0.8rem;
  background: var(--aoy-surface-muted);
}

.aoy-wallet-balance > span,
.aoy-wallet-label {
  display: block;
  color: var(--aoy-text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.aoy-wallet-balance strong,
.aoy-legacy-value > strong {
  display: block;
  margin-top: 0.4rem;
  color: var(--aoy-text);
  font-size: 1.35rem;
  font-weight: 700;
}

.aoy-wallet-actions {
  margin-top: auto;
  align-items: stretch;
}

.aoy-wallet-actions > *,
.aoy-wallet-actions form .aoy-button { flex: 1 1 0; }
.aoy-wallet-actions form { display: flex; flex: 1 1 0; }

.aoy-button-success {
  color: #047857;
  border-color: #a7f3d0;
  background: #ecfdf5;
}

.dark .aoy-button-success {
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.28);
  background: rgba(5, 150, 105, 0.14);
}

.aoy-button-disabled {
  cursor: default;
  color: var(--aoy-text-muted);
  border-color: var(--aoy-border);
  background: var(--aoy-surface-muted);
}

.aoy-button-disabled:hover { transform: none; }

.aoy-network-grid > .aoy-empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--aoy-border);
  border-radius: 1rem;
  color: var(--aoy-text);
  background: var(--aoy-surface);
}

.aoy-network-grid > .aoy-empty-state > span {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: #4f46e5;
  background: #eef2ff;
}

.aoy-network-grid > .aoy-empty-state h2 { margin: 0.9rem 0 0; font-size: 1rem; }
.aoy-network-grid > .aoy-empty-state p { margin: 0.35rem 0 0; color: var(--aoy-text-muted); font-size: 0.82rem; }

.aoy-legacy-wallet { justify-content: space-between; }
.aoy-legacy-copy { display: flex; min-width: 0; align-items: flex-start; gap: 1rem; }
.aoy-wallet-icon.is-legacy { color: #b45309; background: #fffbeb; }
.dark .aoy-wallet-icon.is-legacy { color: #fcd34d; background: rgba(180, 83, 9, 0.16); }
.aoy-legacy-value { flex: 0 0 auto; text-align: right; }
.aoy-legacy-value .aoy-button { margin-top: 0.6rem; }

.aoy-wallet-list { padding: 0 1.5rem; }
.aoy-wallet-list-row { padding: 1rem 0; border-bottom: 1px solid var(--aoy-border); }
.aoy-wallet-list-row:last-child { border-bottom: 0; }
.aoy-wallet-list-row > div { display: flex; min-width: 0; flex-direction: column; gap: 0.2rem; }
.aoy-wallet-list-row > div:last-child { flex: 0 0 auto; align-items: flex-end; }
.aoy-wallet-list-row span { color: var(--aoy-text-muted); font-size: 0.75rem; }
.aoy-wallet-list-row a { color: #4f46e5; font-size: 0.78rem; font-weight: 650; }
.dark .aoy-wallet-list-row a { color: #a5b4fc; }

.aoy-browser-card { align-items: flex-start; }
.aoy-browser-copy { min-width: 0; flex: 1 1 auto; }
.aoy-browser-id {
  display: block;
  margin-top: 0.55rem;
  color: var(--aoy-text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.7rem;
  overflow-wrap: anywhere;
}

.aoy-payout-total {
  min-width: 13rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.85rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.aoy-payout-total p {
  margin: 0;
  color: #e0e7ff;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.aoy-payout-total strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.aoy-payout-total strong span {
  color: #e0e7ff;
  font-size: 0.78rem;
  font-weight: 600;
}

.aoy-payout-panel {
  color: var(--aoy-text);
  border-color: var(--aoy-border) !important;
  background: var(--aoy-surface) !important;
  box-shadow: var(--aoy-shadow);
}

.aoy-login-logo,
.aoy-primary-button {
  color: #fff;
  background: linear-gradient(90deg, #4f46e5 0%, #6d28d9 100%);
}

.aoy-primary-button { box-shadow: 0 8px 20px rgba(79, 70, 229, 0.16); }
.aoy-primary-button:hover { filter: brightness(1.06); }

/* Dedicated authentication portals */
.aoy-auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(30rem, 0.88fr);
  min-height: 100vh;
  min-height: 100svh;
  color: var(--aoy-text);
  background: #eef2f8;
}

.dark .aoy-auth-shell { background: #111a2d; }

.aoy-auth-visual {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 3.25rem);
  color: #fff;
  background:
    radial-gradient(circle at 14% 12%, rgba(99, 102, 241, 0.24), transparent 28%),
    radial-gradient(circle at 86% 70%, rgba(245, 158, 11, 0.14), transparent 24%),
    linear-gradient(145deg, #0b1224 0%, #131f3a 52%, #172242 100%);
}

.aoy-auth-visual::before,
.aoy-auth-visual::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(129, 140, 248, 0.16);
  border-radius: 9999px;
  content: "";
  pointer-events: none;
}

.aoy-auth-visual::before { width: 34rem; height: 34rem; top: -22rem; right: -16rem; }
.aoy-auth-visual::after { width: 24rem; height: 24rem; bottom: -17rem; left: -10rem; }

.aoy-auth-brand,
.aoy-auth-mobile-brand a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: 0.045em;
  text-decoration: none;
  text-transform: uppercase;
}

.aoy-auth-brand {
  position: absolute;
  z-index: 3;
  top: clamp(1.5rem, 3vw, 3.25rem);
  left: clamp(1.5rem, 3vw, 3.25rem);
}

.aoy-auth-brand img,
.aoy-auth-mobile-brand img { width: 2.8rem; height: 2.8rem; object-fit: contain; }

.aoy-auth-visual-content {
  display: grid;
  width: min(100%, 58rem);
  min-height: 0;
  grid-template-rows: auto minmax(16rem, 1fr) auto;
  gap: 0.8rem;
  margin: auto;
  padding-top: 4.5rem;
}

.aoy-auth-visual-copy { width: min(100%, 45rem); margin: 0 auto; text-align: center; }
.aoy-auth-visual-kicker,
.aoy-auth-form-kicker {
  display: inline-flex;
  align-items: center;
  color: #818cf8;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.aoy-auth-visual-kicker::before {
  width: 1.8rem;
  height: 1px;
  margin-right: 0.65rem;
  background: currentColor;
  content: "";
}

.aoy-auth-visual-copy h2 {
  margin: 0.55rem 0 0;
  color: #fff;
  font-size: clamp(1.55rem, 2.6vw, 2.45rem);
  font-weight: 750;
  line-height: 1.16;
}

.aoy-auth-visual-copy p {
  max-width: 42rem;
  margin: 0.8rem auto 0;
  color: #b9c5dd;
  font-size: clamp(0.82rem, 1.2vw, 0.98rem);
  line-height: 1.65;
}

.aoy-auth-art {
  position: relative;
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: center;
}

.aoy-auth-art img {
  position: relative;
  z-index: 2;
  display: block;
  width: min(100%, 52rem);
  max-height: min(52vh, 39rem);
  object-fit: contain;
  filter: drop-shadow(0 28px 36px rgba(2, 6, 23, 0.35));
}

.aoy-auth-orbit {
  position: absolute;
  border: 1px solid rgba(129, 140, 248, 0.18);
  border-radius: 9999px;
  pointer-events: none;
}

.aoy-auth-orbit--one { width: 75%; aspect-ratio: 1; }
.aoy-auth-orbit--two { width: 56%; aspect-ratio: 1; border-color: rgba(245, 158, 11, 0.15); }

.aoy-auth-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.aoy-auth-trust-row span,
.aoy-auth-trust-row .aoy-auth-trust-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.78rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 9999px;
  color: #c8d2e5;
  background: rgba(15, 23, 42, 0.42);
  font-size: 0.72rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  text-decoration: none;
}

.aoy-auth-trust-row i { color: #fbbf24; }
.aoy-auth-trust-row .aoy-auth-trust-link:hover { border-color: rgba(165, 180, 252, 0.5); color: #fff; }

.aoy-auth-main {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.25rem;
  overflow-y: auto;
  padding: clamp(1.5rem, 3vw, 3rem);
  background:
    radial-gradient(circle at 95% 4%, rgba(99, 102, 241, 0.08), transparent 30%),
    var(--aoy-surface-muted);
}

.aoy-auth-mobile-brand { display: none; width: min(100%, 32rem); }
.aoy-auth-mobile-brand a { color: var(--aoy-text); }

.aoy-auth-card {
  width: min(100%, 32rem);
  padding: clamp(1.4rem, 2.4vw, 2.25rem);
  border: 1px solid var(--aoy-border);
  border-radius: 1.5rem;
  background: color-mix(in srgb, var(--aoy-surface) 94%, transparent);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(18px);
}

.dark .aoy-auth-card { box-shadow: 0 26px 76px rgba(2, 6, 23, 0.34); }

.aoy-auth-form-heading { margin-bottom: 1.5rem; }
.aoy-auth-form-heading h1 {
  margin: 0.45rem 0 0;
  color: var(--aoy-text);
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 750;
  line-height: 1.2;
}

.aoy-auth-form-heading p { margin: 0.55rem 0 0; color: var(--aoy-text-muted); font-size: 0.88rem; line-height: 1.6; }

.aoy-auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0.85rem;
  border: 1px solid;
  border-radius: 0.9rem;
  font-size: 0.78rem;
  line-height: 1.45;
}

.aoy-auth-alert.is-error { border-color: #fecaca; color: #991b1b; background: #fef2f2; }
.aoy-auth-alert.is-info { border-color: #bae6fd; color: #075985; background: #f0f9ff; }
.aoy-auth-alert.is-success { border-color: #a7f3d0; color: #047857; background: #ecfdf5; }
.dark .aoy-auth-alert.is-error { border-color: rgba(248, 113, 113, 0.34); color: #fecaca; background: rgba(127, 29, 29, 0.18); }
.dark .aoy-auth-alert.is-info { border-color: rgba(56, 189, 248, 0.3); color: #bae6fd; background: rgba(7, 89, 133, 0.18); }
.dark .aoy-auth-alert.is-success { border-color: rgba(52, 211, 153, 0.3); color: #a7f3d0; background: rgba(6, 78, 59, 0.2); }
.aoy-auth-alert-icon { display: inline-flex; width: 1.8rem; height: 1.8rem; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 0.55rem; background: currentColor; }
.aoy-auth-alert-icon i { color: #fff; }
.aoy-auth-alert strong { display: block; font-weight: 700; }
.aoy-auth-alert p { margin: 0.2rem 0 0; color: inherit; opacity: 0.88; }

.aoy-network-connection {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.8rem;
  border: 1px solid #c7d2fe;
  border-radius: 0.95rem;
  color: #312e81;
  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
}

.dark .aoy-network-connection { border-color: rgba(129, 140, 248, 0.35); color: #e0e7ff; background: rgba(79, 70, 229, 0.13); }
.aoy-network-connection-icon { display: inline-flex; width: 2.55rem; height: 2.55rem; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 0.75rem; color: #fff; background: linear-gradient(135deg, #4f46e5, #7c3aed); box-shadow: 0 8px 18px rgba(79, 70, 229, 0.2); }
.aoy-network-connection-copy { min-width: 0; flex: 1 1 auto; }
.aoy-network-connection-copy small { display: block; color: #6366f1; font-size: 0.67rem; }
.dark .aoy-network-connection-copy small { color: #a5b4fc; }
.aoy-network-connection-copy strong { display: block; overflow: hidden; font-size: 0.9rem; text-overflow: ellipsis; white-space: nowrap; }
.aoy-network-connection-status { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 0.3rem; padding: 0.35rem 0.55rem; border-radius: 9999px; color: #047857; background: #d1fae5; font-size: 0.65rem; font-weight: 750; }
.dark .aoy-network-connection-status { color: #6ee7b7; background: rgba(4, 120, 87, 0.22); }

.aoy-auth-form { display: flex; flex-direction: column; gap: 1rem; }
.aoy-auth-field { display: block; color: var(--aoy-text); }
.aoy-auth-field > span:first-child { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.42rem; font-size: 0.75rem; font-weight: 700; }
.aoy-auth-field em { color: var(--aoy-text-muted); font-size: 0.65rem; font-style: normal; font-weight: 500; }
.aoy-auth-field small { display: block; margin-top: 0.38rem; color: #dc2626; font-size: 0.68rem; }
.dark .aoy-auth-field small { color: #fca5a5; }

.aoy-auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--aoy-border);
  border-radius: 0.85rem;
  color: var(--aoy-text-muted);
  background: var(--aoy-surface-muted);
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.aoy-auth-input-wrap:focus-within { border-color: #6366f1; background: var(--aoy-surface); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12); }
.aoy-auth-input-wrap > i { position: absolute; left: 0.9rem; pointer-events: none; }
.aoy-auth-input-wrap input {
  width: 100%;
  height: 3.05rem;
  border: 0;
  outline: 0;
  padding: 0 0.95rem 0 2.65rem;
  color: var(--aoy-text);
  background: transparent;
  font: inherit;
  font-size: 0.84rem;
}

.aoy-auth-input-wrap input::placeholder { color: var(--aoy-text-muted); opacity: 0.72; }
.aoy-auth-input-wrap input[aria-invalid="true"] { color: #b91c1c; }

.aoy-auth-captcha { display: flex; width: 100%; justify-content: center; overflow: hidden; }
.aoy-auth-captcha > * { max-width: 100%; }
.aoy-auth-captcha #captcha-holder { width: 100%; }
.aoy-auth-captcha #captcha-container {
  width: 100%;
  max-width: none;
  margin-top: 0 !important;
  padding: 0.85rem;
  border: 1px solid var(--aoy-border);
  border-radius: 0.9rem;
  background: var(--aoy-surface-muted);
  box-shadow: none;
}
.aoy-auth-captcha #icon-options { max-width: 100%; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 0.2rem; }
.aoy-auth-captcha .icon-option { margin: 0 0.35rem; }

.aoy-auth-form-options { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--aoy-text-muted); font-size: 0.72rem; }
.aoy-auth-form-options a,
.aoy-auth-switch a { color: #4f46e5; font-weight: 650; text-decoration: none; }
.dark .aoy-auth-form-options a,
.dark .aoy-auth-switch a { color: #a5b4fc; }
.aoy-auth-form-options a:hover,
.aoy-auth-switch a:hover { text-decoration: underline; }

.aoy-auth-checkbox { display: inline-flex; align-items: center; gap: 0.5rem; }
.aoy-auth-checkbox input { width: 1rem; height: 1rem; accent-color: #4f46e5; }
.aoy-auth-checkbox span { color: var(--aoy-text-muted); font-size: 0.73rem; }
.aoy-auth-checkbox a { color: #4f46e5; font-weight: 650; text-decoration: none; }
.aoy-auth-checkbox a:hover { text-decoration: underline; }

.aoy-auth-submit,
.aoy-auth-empty a {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 0;
  border-radius: 0.9rem;
  color: #fff;
  background: linear-gradient(100deg, #4f46e5, #6d28d9 72%, #7c3aed);
  box-shadow: 0 12px 24px rgba(79, 70, 229, 0.22);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.aoy-auth-submit:hover,
.aoy-auth-empty a:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 15px 28px rgba(79, 70, 229, 0.28); }
.aoy-auth-submit:focus-visible,
.aoy-auth-empty a:focus-visible,
.aoy-auth-form-options a:focus-visible,
.aoy-auth-switch a:focus-visible { outline: 3px solid rgba(99, 102, 241, 0.35); outline-offset: 3px; }

.aoy-auth-identity-note { display: flex; align-items: flex-start; gap: 0.65rem; padding: 0.8rem; border-radius: 0.8rem; color: var(--aoy-text-muted); background: var(--aoy-surface-muted); font-size: 0.7rem; line-height: 1.5; }
.aoy-auth-identity-note > i { margin-top: 0.12rem; color: #10b981; }
.aoy-auth-identity-note p { margin: 0; }
.aoy-auth-identity-note strong { color: var(--aoy-text); }

.aoy-auth-switch { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem; margin-top: 1.15rem; color: var(--aoy-text-muted); font-size: 0.73rem; text-align: center; }
.aoy-auth-context-note { margin: 0.65rem auto 0; color: var(--aoy-text-muted); font-size: 0.68rem; line-height: 1.5; text-align: center; }

.aoywallet-link { display: inline-flex; align-items: baseline; gap: 0.22em; color: #4f46e5; font-weight: 700; text-decoration: none; }
.aoywallet-link i { font-size: 0.66em; }
.aoywallet-link:hover { text-decoration: underline; }
.aoywallet-link:focus-visible { border-radius: 0.2rem; outline: 3px solid rgba(99, 102, 241, 0.32); outline-offset: 2px; }
.aoywallet-link.is-light { color: inherit; }
.dark .aoywallet-link:not(.is-light) { color: #a5b4fc; }

.aoy-payout-panel input[readonly],
.aoy-payout-panel input:disabled {
  color: #334155 !important;
  background-color: #f1f5f9 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #334155;
}
.dark .aoy-payout-panel input[readonly],
.dark .aoy-payout-panel input:disabled {
  color: #e2e8f0 !important;
  background-color: #17243d !important;
  -webkit-text-fill-color: #e2e8f0;
}
.aoy-auth-divider { display: flex; align-items: center; gap: 0.75rem; margin: 1rem 0; color: var(--aoy-text-muted); font-size: 0.7rem; text-transform: uppercase; }
.aoy-auth-divider::before,
.aoy-auth-divider::after { height: 1px; flex: 1 1 auto; background: var(--aoy-border); content: ""; }
.aoy-auth-social { display: flex; min-height: 2.9rem; align-items: center; justify-content: center; gap: 0.65rem; border: 1px solid var(--aoy-border); border-radius: 0.85rem; color: var(--aoy-text); background: var(--aoy-surface); font-size: 0.78rem; font-weight: 650; text-decoration: none; }
.aoy-auth-social img { width: 1.15rem; height: 1.15rem; }

.aoy-auth-empty { padding: 1.25rem; border: 1px dashed #c7d2fe; border-radius: 1rem; background: #f5f3ff; text-align: center; }
.dark .aoy-auth-empty { border-color: rgba(129, 140, 248, 0.34); background: rgba(79, 70, 229, 0.1); }
.aoy-auth-empty > span { display: inline-flex; width: 2.8rem; height: 2.8rem; align-items: center; justify-content: center; border-radius: 0.85rem; color: #4f46e5; background: #e0e7ff; }
.dark .aoy-auth-empty > span { color: #c7d2fe; background: rgba(99, 102, 241, 0.2); }
.aoy-auth-empty h2 { margin: 0.8rem 0 0; color: var(--aoy-text); font-size: 1rem; font-weight: 700; }
.aoy-auth-empty p { margin: 0.45rem auto 1rem; color: var(--aoy-text-muted); font-size: 0.75rem; line-height: 1.55; }
.aoy-auth-empty a { min-height: 2.65rem; padding: 0 1rem; font-size: 0.75rem; }

.aoy-auth-footer { display: flex; align-items: center; justify-content: center; gap: 0.75rem; color: var(--aoy-text-muted); font-size: 0.68rem; }
.aoy-auth-footer span { width: 1px; height: 0.8rem; background: var(--aoy-border); }
.aoy-auth-footer a { color: inherit; text-decoration: none; }
.aoy-auth-footer a:hover { color: #4f46e5; }

@media (max-width: 1023px) {
  .aoy-auth-shell { display: block; }
  .aoy-auth-visual { display: none; }
  .aoy-auth-main { min-height: 100vh; min-height: 100svh; justify-content: center; padding: 1.5rem; }
  .aoy-auth-mobile-brand { display: block; }
}

@media (max-width: 560px) {
  .aoy-auth-main { justify-content: flex-start; gap: 1rem; padding: 1rem; }
  .aoy-auth-mobile-brand { margin-top: 0.25rem; }
  .aoy-auth-mobile-brand img { width: 2.35rem; height: 2.35rem; }
  .aoy-auth-card { padding: 1.25rem; border-radius: 1.15rem; }
  .aoy-auth-form-options { align-items: flex-start; flex-direction: column; gap: 0.65rem; }
  .aoy-network-connection-status { display: none; }
  .aoy-auth-footer { margin-bottom: 0.5rem; }
}

@media (min-width: 1024px) and (max-height: 820px) {
  .aoy-auth-visual { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .aoy-auth-visual-content { grid-template-rows: auto minmax(12rem, 1fr) auto; gap: 0.4rem; padding-top: 3.7rem; }
  .aoy-auth-visual-copy p { margin-top: 0.4rem; }
  .aoy-auth-art img { max-height: 45vh; }
  .aoy-auth-main { justify-content: flex-start; padding-top: 1.5rem; padding-bottom: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .aoy-auth-submit,
  .aoy-auth-empty a,
  .aoy-auth-input-wrap { transition: none; }
}

.dark .apexcharts-text,
.dark .apexcharts-legend-text {
  fill: #a3adc2 !important;
  color: #a3adc2 !important;
}

.dark .apexcharts-gridline { stroke: #384766; }

.aoy-earning-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--aoy-border);
  border-radius: 1rem;
  color: var(--aoy-text);
  background: var(--aoy-surface);
  box-shadow: var(--aoy-shadow);
}

.aoy-earning-header-copy {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 1rem;
}

.aoy-earning-header-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  color: #4f46e5;
  background: #eef2ff;
  font-size: 1.1rem;
}

.aoy-earning-header-icon.is-shortlink { color: #0369a1; background: #e0f2fe; }
.aoy-earning-header-icon.is-offerwall { color: #7e22ce; background: #f3e8ff; }
.aoy-earning-header-icon.is-faucet { color: #047857; background: #d1fae5; }
.dark .aoy-earning-header-icon { color: #a5b4fc; background: rgba(99, 102, 241, 0.16); }
.dark .aoy-earning-header-icon.is-shortlink { color: #7dd3fc; background: rgba(3, 105, 161, 0.18); }
.dark .aoy-earning-header-icon.is-offerwall { color: #d8b4fe; background: rgba(126, 34, 206, 0.18); }
.dark .aoy-earning-header-icon.is-faucet { color: #6ee7b7; background: rgba(4, 120, 87, 0.18); }

.aoy-earning-header h1 {
  margin: 0;
  color: var(--aoy-text);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.3;
}

.aoy-earning-header p {
  margin: 0.3rem 0 0;
  color: var(--aoy-text-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.aoy-ad-slot {
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0;
  text-align: center;
}

.aoy-ad-slot img,
.aoy-ad-slot iframe { max-width: 100%; }

.aoy-offer-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--aoy-border);
  background: var(--aoy-surface-muted);
}

.aoy-offer-tabs button {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  color: var(--aoy-text-muted);
  font-size: 0.82rem;
  font-weight: 650;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.aoy-offer-tabs button:hover,
.aoy-offer-tabs button.is-active {
  color: #4338ca;
  border-color: var(--aoy-border);
  background: var(--aoy-surface);
}

.dark .aoy-offer-tabs button:hover,
.dark .aoy-offer-tabs button.is-active { color: #c7d2fe; }

.aoy-offer-grid,
.aoy-loading-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.aoy-offer-card {
  display: flex;
  min-width: 0;
  min-height: 14rem;
  flex-direction: column;
  padding: 1.2rem;
  border: 1px solid var(--aoy-border);
  border-radius: 1rem;
  color: var(--aoy-text);
  background: var(--aoy-surface);
  box-shadow: var(--aoy-shadow);
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.aoy-offer-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.aoy-offer-card-content {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.aoy-wannads-card-heading { min-width: 0; }
.aoy-wannads-card-heading h3 { min-width: 0; margin-top: 0; }
.aoy-wannads-card-action { display: flex; flex: 1 1 auto; flex-direction: column; }
.aoy-wannads-card-action > .flex { margin-top: auto; padding-top: 1rem; }
.aoy-wannads-modal { overscroll-behavior: contain; }
.aoy-wannads-modal-dialog { overscroll-behavior: contain; scrollbar-gutter: stable; }
.aoy-wannads-modal-body { overflow-wrap: anywhere; }

.aoy-offer-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.aoy-offer-type,
.aoy-offer-duration {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.58rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.aoy-offer-type { color: #4338ca; background: #eef2ff; }
.aoy-offer-type.is-shortlink { color: #0369a1; background: #e0f2fe; }
.aoy-offer-duration { color: var(--aoy-text-muted); background: var(--aoy-surface-muted); }
.dark .aoy-offer-type { color: #c7d2fe; background: rgba(79, 70, 229, 0.18); }
.dark .aoy-offer-type.is-shortlink { color: #7dd3fc; background: rgba(3, 105, 161, 0.18); }

.aoy-offer-card h2,
.aoy-offer-card h3 {
  margin: 1rem 0 0;
  color: var(--aoy-text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.aoy-offer-card > p,
.aoy-offer-card-content > p {
  display: -webkit-box;
  margin: 0.55rem 0 0;
  overflow: hidden;
  color: var(--aoy-text-muted);
  font-size: 0.78rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.aoy-offer-network,
.aoy-offer-details {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  color: var(--aoy-text-muted);
  font-size: 0.72rem;
}

.aoy-offer-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 1rem;
}

.aoy-offer-cooldown {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--aoy-text-muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.aoy-result-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
  color: var(--aoy-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.aoy-loading-grid span {
  display: block;
  min-height: 14rem;
  border: 1px solid var(--aoy-border);
  border-radius: 1rem;
  background: linear-gradient(100deg, var(--aoy-surface) 30%, var(--aoy-surface-muted) 50%, var(--aoy-surface) 70%);
  background-size: 400% 100%;
  animation: aoy-loading-wave 1.4s ease infinite;
}

@keyframes aoy-loading-wave {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

.aoy-empty-result {
  padding: 4rem 1.5rem;
  border: 1px dashed var(--aoy-border);
  border-radius: 1rem;
  color: var(--aoy-text-muted);
  background: var(--aoy-surface);
  text-align: center;
}

.aoy-empty-result > span {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: #4f46e5;
  background: #eef2ff;
}

.aoy-empty-result h2 { margin: 0.9rem 0 0; color: var(--aoy-text); font-size: 1rem; font-weight: 700; }
.aoy-empty-result p { margin: 0.35rem 0 0; }
.aoy-empty-result.is-error { color: #b91c1c; border-color: #fecaca; background: #fff7f7; }
.dark .aoy-empty-result > span { color: #a5b4fc; background: rgba(99, 102, 241, 0.16); }
.dark .aoy-empty-result.is-error { color: #fca5a5; border-color: rgba(239, 68, 68, 0.3); background: rgba(127, 29, 29, 0.14); }

.aoy-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
}

.aoy-pager-button {
  display: inline-flex;
  min-width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--aoy-border);
  border-radius: 0.65rem;
  color: var(--aoy-text-muted);
  background: var(--aoy-surface);
  font-size: 0.75rem;
  font-weight: 650;
}

.aoy-pager-button:hover,
.aoy-pager-button.is-active { color: #fff; border-color: #4f46e5; background: #4f46e5; }
.aoy-pager-button:disabled { cursor: not-allowed; opacity: 0.4; }
.aoy-pager-gap { padding: 0 0.25rem; color: var(--aoy-text-muted); }

.aoy-faucet-panel { overflow: visible; }

.aoy-faucet-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--aoy-border);
}

.aoy-faucet-summary article {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.8rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--aoy-border);
}

.aoy-faucet-summary article:last-child { border-bottom: 0; }

.aoy-faucet-summary-icon {
  display: inline-flex;
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  color: #0369a1;
  background: #e0f2fe;
}

.aoy-faucet-summary-icon.is-limit { color: #b45309; background: #fef3c7; }
.aoy-faucet-summary-icon.is-reward { color: #047857; background: #d1fae5; }
.dark .aoy-faucet-summary-icon { color: #7dd3fc; background: rgba(3, 105, 161, 0.18); }
.dark .aoy-faucet-summary-icon.is-limit { color: #fcd34d; background: rgba(180, 83, 9, 0.18); }
.dark .aoy-faucet-summary-icon.is-reward { color: #6ee7b7; background: rgba(4, 120, 87, 0.18); }

.aoy-faucet-summary article > div { min-width: 0; }
.aoy-faucet-summary strong { display: block; color: var(--aoy-text); font-size: 1rem; overflow-wrap: anywhere; }
.aoy-faucet-summary article > div > span { display: block; margin-top: 0.18rem; color: var(--aoy-text-muted); font-size: 0.72rem; }

.aoy-faucet-claim { padding: 1.5rem; }
.aoy-faucet-claim form { width: min(100%, 44rem); margin: 0 auto; }
.aoy-captcha-wrap { display: flex; width: 100%; justify-content: center; overflow: hidden; }
.aoy-captcha-wrap > * { max-width: 100%; }
.aoy-faucet-button { width: 100%; margin-top: 1rem; }

.aoy-history-stat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.aoy-history-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.aoy-history-filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.aoy-history-count {
  flex: 0 0 auto;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  color: var(--aoy-text-muted);
  background: var(--aoy-surface-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.aoy-history-table { min-width: 860px; }

.aoy-history-activity {
  display: flex;
  min-width: 15rem;
  align-items: center;
  gap: 0.75rem;
}

.aoy-history-activity > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.18rem;
}

.aoy-history-activity strong {
  max-width: 22rem;
  overflow: hidden;
  color: var(--aoy-text);
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aoy-history-activity span,
.aoy-history-reward span {
  color: var(--aoy-text-muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.aoy-history-icon {
  display: inline-flex;
  width: 2.45rem;
  height: 2.45rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  color: #4f46e5;
  background: #eef2ff;
}

.aoy-history-icon.is-shortlink { color: #0369a1; background: #e0f2fe; }
.aoy-history-icon.is-offerwall { color: #7e22ce; background: #f3e8ff; }
.aoy-history-icon.is-faucet { color: #047857; background: #d1fae5; }

.dark .aoy-history-icon { color: #a5b4fc; background: rgba(99, 102, 241, 0.16); }
.dark .aoy-history-icon.is-shortlink { color: #7dd3fc; background: rgba(3, 105, 161, 0.18); }
.dark .aoy-history-icon.is-offerwall { color: #d8b4fe; background: rgba(126, 34, 206, 0.18); }
.dark .aoy-history-icon.is-faucet { color: #6ee7b7; background: rgba(4, 120, 87, 0.18); }

.aoy-history-network {
  display: inline-block;
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aoy-history-status {
  display: inline-flex;
  padding: 0.3rem 0.62rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
}

.aoy-history-status.is-approved { color: #047857; background: #d1fae5; }
.aoy-history-status.is-reversed { color: #b91c1c; background: #fee2e2; }
.dark .aoy-history-status.is-approved { color: #6ee7b7; background: rgba(4, 120, 87, 0.2); }
.dark .aoy-history-status.is-reversed { color: #fca5a5; background: rgba(185, 28, 28, 0.2); }

.aoy-history-reward { color: #047857; font-weight: 700; }
.aoy-history-reward.is-reversed { color: #dc2626; }
.aoy-history-reward span { margin-left: 0.15rem; }
.dark .aoy-history-reward { color: #6ee7b7; }
.dark .aoy-history-reward.is-reversed { color: #fca5a5; }

.aoy-history-pagination {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--aoy-border);
}

@media (min-width: 640px) {
  .aoy-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aoy-history-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .aoy-form-grid,
  .aoy-network-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aoy-history-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aoy-offer-grid,
  .aoy-loading-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aoy-faucet-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .aoy-faucet-summary article { border-right: 1px solid var(--aoy-border); border-bottom: 0; }
  .aoy-faucet-summary article:last-child { border-right: 0; }
}

@media (min-width: 1024px) {
  .aoy-stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
  .aoy-network-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .aoy-history-filters { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .aoy-offer-grid,
  .aoy-loading-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .aoy-page-stack { gap: 1rem; }

  .aoy-hero-inner,
  .aoy-toolbar,
  .aoy-publisher-banner-row,
  .aoy-earning-header {
    align-items: stretch;
    flex-direction: column;
  }

  .aoy-hero-inner,
  .aoy-panel-body,
  .aoy-panel-header,
  .aoy-publisher-banner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .aoy-actions,
  .aoy-actions .aoy-button,
  .aoy-hero-inner .aoy-button,
  .aoy-publisher-link-control { width: 100%; }

  .aoy-earning-header .aoy-button { width: 100%; }

  .aoy-actions .aoy-button { flex: 1 1 10rem; }

  .aoy-history-filter-actions .aoy-button { flex: 1 1 0; }

  .aoy-stat-card,
  .aoy-destination-card { min-height: 7.5rem; }

  .aoy-wallet-notice,
  .aoy-browser-card,
  .aoy-legacy-wallet,
  .aoy-legacy-copy,
  .aoy-wallet-list-row {
    align-items: stretch;
    flex-direction: column;
  }

  .aoy-browser-card form,
  .aoy-browser-card .aoy-button,
  .aoy-legacy-value .aoy-button,
  .aoy-payout-total { width: 100%; }

  .aoy-legacy-value,
  .aoy-wallet-list-row > div:last-child { align-items: flex-start; text-align: left; }
}

@media (max-width: 420px) {
  .aoy-publisher-link-control {
    flex-direction: column;
    gap: 0.6rem;
  }

  .aoy-publisher-link-control input,
  .aoy-publisher-link-control button {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0.7rem;
  }
}

/* Advertiser campaign workspaces */
.aoy-campaign-page { max-width: 96rem; }

.aoy-workspace-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.5rem;
  border: 1px solid var(--aoy-border);
  border-radius: 1rem;
  background: var(--aoy-surface);
  box-shadow: var(--aoy-shadow);
}

.aoy-workspace-tab {
  display: flex;
  min-width: 0;
  min-height: 4.25rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  color: var(--aoy-text-muted);
  text-align: left;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease, transform 150ms ease;
}

.aoy-workspace-tab > i {
  display: inline-flex;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  color: #4f46e5;
  background: #eef2ff;
}

.aoy-workspace-tab > span { min-width: 0; }
.aoy-workspace-tab strong,
.aoy-workspace-tab small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aoy-workspace-tab strong { color: var(--aoy-text); font-size: 0.78rem; font-weight: 700; }
.aoy-workspace-tab small { margin-top: 0.18rem; font-size: 0.65rem; }
.aoy-workspace-tab:hover { color: #4f46e5; border-color: #c7d2fe; background: #f8faff; }
.aoy-workspace-tab:focus-visible { outline: 3px solid rgba(99, 102, 241, 0.22); outline-offset: 2px; }
.aoy-workspace-tab.is-active { color: #e0e7ff; border-color: transparent; background: linear-gradient(135deg, #4f46e5, #6d28d9); box-shadow: 0 8px 20px rgba(79, 70, 229, 0.2); }
.aoy-workspace-tab.is-active > i { color: #fff; background: rgba(255, 255, 255, 0.16); }
.aoy-workspace-tab.is-active strong { color: #fff; }
.dark .aoy-workspace-tab > i { color: #c7d2fe; background: rgba(99, 102, 241, 0.16); }
.dark .aoy-workspace-tab:not(.is-active):hover { color: #c7d2fe; border-color: rgba(129, 140, 248, 0.35); background: rgba(99, 102, 241, 0.09); }
.dark .aoy-workspace-tab.is-active > i { color: #fff; background: rgba(255, 255, 255, 0.16); }
[data-workspace-panel] { scroll-margin-top: 5.5rem; }
[data-workspace-panel][hidden] { display: none !important; }

.aoy-shortlink-hero {
  background: linear-gradient(135deg, #0369a1 0%, #2563eb 48%, #4f46e5 100%);
}

.aoy-campaign-balance {
  display: flex;
  min-width: 14rem;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.aoy-campaign-balance span {
  color: #e0e7ff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.aoy-campaign-balance strong { color: #fff; font-size: 1.45rem; }
.aoy-campaign-balance a { width: max-content; margin-top: 0.25rem; color: #fff; font-size: 0.75rem; font-weight: 650; }
.aoy-campaign-balance a:hover { text-decoration: underline; }
.aoy-campaign-balance a i { margin-left: 0.25rem; font-size: 0.65rem; }

.aoy-campaign-stats .aoy-stat-card { min-height: 7.4rem; }
.aoy-campaign-stats .aoy-stat-value { margin-top: 0.8rem; }

.aoy-campaign-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.aoy-campaign-layout > .aoy-panel:first-child {
  position: relative;
  z-index: 3;
  overflow: visible;
}

.aoy-campaign-layout > .aoy-panel:first-child > .aoy-panel-header {
  border-radius: 1rem 1rem 0 0;
}

.aoy-campaign-layout > .aoy-panel:first-child > .aoy-panel-body {
  border-radius: 0 0 1rem 1rem;
}

.aoy-step-pill {
  flex: 0 0 auto;
  padding: 0.34rem 0.7rem;
  border-radius: 9999px;
  color: #4338ca;
  background: #eef2ff;
  font-size: 0.7rem;
  font-weight: 700;
}

.dark .aoy-step-pill { color: #c7d2fe; background: rgba(99, 102, 241, 0.18); }

.aoy-field { display: block; min-width: 0; }
.aoy-field-label em { float: right; color: var(--aoy-text-muted); font-size: 0.68rem; font-style: normal; font-weight: 500; }
.aoy-textarea { min-height: 6.5rem; resize: vertical; }

.aoy-field-help {
  display: block;
  margin-top: 0.42rem;
  color: var(--aoy-text-muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.aoy-api-preview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border: 1px dashed rgba(99, 102, 241, 0.35);
  border-radius: 0.8rem;
  color: var(--aoy-text);
  background: rgba(99, 102, 241, 0.06);
}

.aoy-api-preview-icon {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  color: #4f46e5;
  background: #eef2ff;
}

.aoy-api-preview strong,
.aoy-api-preview code { display: block; min-width: 0; }
.aoy-api-preview strong { font-size: 0.74rem; }
.aoy-api-preview code { margin-top: 0.18rem; overflow: hidden; color: var(--aoy-text-muted); font-size: 0.68rem; text-overflow: ellipsis; white-space: nowrap; }
.aoy-api-ready { padding: 0.3rem 0.55rem; border-radius: 9999px; color: var(--aoy-text-muted); background: var(--aoy-surface-muted); font-size: 0.65rem; font-weight: 700; }
.aoy-api-ready.is-ready { color: #047857; background: #d1fae5; }
.dark .aoy-api-preview { background: rgba(99, 102, 241, 0.1); }
.dark .aoy-api-preview-icon { color: #c7d2fe; background: rgba(99, 102, 241, 0.2); }
.dark .aoy-api-ready.is-ready { color: #6ee7b7; background: rgba(4, 120, 87, 0.24); }

.aoy-account-popover { width: min(20rem, calc(100vw - 5.5rem)); overflow: hidden; border: 1px solid var(--aoy-border); border-radius: 0.9rem; color: var(--aoy-text); background: var(--aoy-surface); box-shadow: 0 20px 52px rgba(15, 23, 42, 0.22); }

/* Earner navigation */
.aoy-earner-nav-label { margin: 1.05rem .65rem .35rem; color: #94a3b8; font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.aoy-earner-nav-link { position: relative; display: grid; grid-template-columns: 2.15rem minmax(0,1fr); align-items: center; gap: .65rem; min-height: 3.15rem; margin: .18rem 0; padding: .48rem .6rem; border: 1px solid transparent; border-radius: .8rem; color: #64748b; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.aoy-earner-nav-link:hover { color: #3730a3; background: #f1f5ff; border-color: #dfe4ff; transform: translateX(2px); }
.aoy-earner-nav-link.is-active { color: #4338ca; background: linear-gradient(135deg, #eef2ff, #f5f3ff); border-color: #c7d2fe; box-shadow: 0 8px 22px rgba(79,70,229,.09); }
.aoy-earner-nav-link.is-active::before { position: absolute; left: -.22rem; width: .22rem; height: 1.6rem; border-radius: 0 .3rem .3rem 0; background: linear-gradient(#6366f1,#7c3aed); content: ""; }
.aoy-earner-nav-icon { display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border-radius: .65rem; color: #6366f1; background: #eef2ff; }
.aoy-earner-nav-link strong,.aoy-earner-nav-link small,.aoy-earner-nav-empty strong,.aoy-earner-nav-empty small { display: block; }
.aoy-earner-nav-link strong,.aoy-earner-nav-empty strong { overflow: hidden; font-size: .76rem; line-height: 1.15rem; text-overflow: ellipsis; white-space: nowrap; }
.aoy-earner-nav-link small,.aoy-earner-nav-empty small { overflow: hidden; margin-top: .05rem; color: #94a3b8; font-size: .62rem; line-height: .9rem; text-overflow: ellipsis; white-space: nowrap; }
.aoy-earner-nav-empty { display: flex; align-items: center; gap: .7rem; margin: .25rem 0; padding: .7rem; border: 1px dashed #c7d2fe; border-radius: .8rem; color: #4f46e5; background: #f8faff; }
.dark .aoy-earner-nav-label { color: #697a9b; }
.dark .aoy-earner-nav-link { color: #a3adc2; }
.dark .aoy-earner-nav-link:hover,.dark .aoy-earner-nav-link.is-active { color: #e0e7ff; background: rgba(99,102,241,.13); border-color: rgba(129,140,248,.26); }
.dark .aoy-earner-nav-icon { color: #a5b4fc; background: rgba(99,102,241,.14); }
.dark .aoy-earner-nav-empty { color: #c7d2fe; border-color: rgba(129,140,248,.3); background: rgba(99,102,241,.08); }
.aoy-account-summary { display: flex; min-width: 0; align-items: center; gap: 0.8rem; padding: 1rem; background: var(--aoy-surface-muted); }
.aoy-account-copy { min-width: 0; flex: 1 1 auto; }
.aoy-account-copy strong { display: block; overflow: hidden; color: var(--aoy-text); font-size: 0.82rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.aoy-account-copy span { display: inline-flex; margin-top: 0.28rem; padding: 0.2rem 0.48rem; border-radius: 9999px; color: #4338ca; background: #eef2ff; font-size: 0.62rem; font-weight: 700; }
.dark .aoy-account-copy span { color: #c7d2fe; background: rgba(99, 102, 241, 0.2); }
.aoy-account-actions { padding: 0.75rem; border-top: 1px solid var(--aoy-border); }
.aoy-account-logout { display: flex; width: 100%; min-height: 2.65rem; align-items: center; justify-content: center; gap: 0.5rem; border-radius: 0.7rem; color: #fff; background: linear-gradient(135deg, #4f46e5, #7c3aed); font-size: 0.76rem; font-weight: 700; box-shadow: 0 8px 18px rgba(79, 70, 229, 0.2); transition: transform 150ms ease, box-shadow 150ms ease; }
.aoy-account-logout:hover { transform: translateY(-1px); box-shadow: 0 11px 24px rgba(79, 70, 229, 0.28); }
.aoy-account-logout:focus-visible { outline: 3px solid rgba(99, 102, 241, 0.3); outline-offset: 2px; }
.aoy-notification-modal { z-index: 120; }

.aoy-statistics-header { align-items: center; }
.aoy-statistics-eyebrow { display: flex; align-items: center; gap: 0.4rem; margin: 0 0 0.35rem; color: #4f46e5; font-size: 0.66rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.dark .aoy-statistics-eyebrow { color: #a5b4fc; }
.aoy-statistics-filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.85rem; }
.aoy-statistics-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1.15rem; }
.aoy-statistics-summary article { min-width: 0; padding: 0.9rem 1rem; border: 1px solid var(--aoy-border); border-radius: 0.8rem; background: var(--aoy-surface-muted); }
.aoy-statistics-summary span { display: block; color: var(--aoy-text-muted); font-size: 0.68rem; font-weight: 650; }
.aoy-statistics-summary strong { display: block; margin-top: 0.28rem; color: var(--aoy-text); font-size: 1.25rem; line-height: 1.2; }
.aoy-statistics-panel .aoy-campaign-feedback { margin-inline: 0; }
.aoy-statistics-chart-card,
.aoy-statistics-breakdown { margin-top: 1.15rem; overflow: hidden; border: 1px solid var(--aoy-border); border-radius: 0.9rem; background: var(--aoy-surface); }
.aoy-statistics-chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 1rem; border-bottom: 1px solid var(--aoy-border); }
.aoy-statistics-chart-heading strong,
.aoy-statistics-chart-heading span { display: block; }
.aoy-statistics-chart-heading strong { color: var(--aoy-text); font-size: 0.82rem; }
.aoy-statistics-chart-heading div > span,
.aoy-statistics-chart-heading > span { margin-top: 0.15rem; color: var(--aoy-text-muted); font-size: 0.68rem; }
.aoy-statistics-legend { display: inline-flex !important; align-items: center; gap: 0.4rem; white-space: nowrap; }
.aoy-statistics-legend i { width: 0.62rem; height: 0.62rem; border-radius: 9999px; background: linear-gradient(135deg, #3b82f6, #7c3aed); }
.aoy-statistics-chart { min-height: 16rem; overflow-x: auto; padding: 1.1rem 1rem 0.8rem; }
.aoy-stat-bars { display: grid; min-width: 100%; height: 13.25rem; grid-auto-columns: minmax(3.1rem, 1fr); grid-auto-flow: column; align-items: end; gap: 0.55rem; }
.aoy-stat-column { display: grid; height: 100%; grid-template-rows: 1.25rem minmax(8rem, 1fr) 1.5rem; align-items: end; text-align: center; }
.aoy-stat-column > span { overflow: hidden; color: var(--aoy-text-muted); font-size: 0.62rem; text-overflow: ellipsis; }
.aoy-stat-column > div { display: flex; height: 100%; align-items: flex-end; justify-content: center; border-bottom: 1px solid var(--aoy-border); background-image: linear-gradient(to top, var(--aoy-border) 1px, transparent 1px); background-size: 100% 25%; }
.aoy-stat-column i { display: block; width: min(1.8rem, 70%); min-height: 0.18rem; border-radius: 0.45rem 0.45rem 0.12rem 0.12rem; background: linear-gradient(180deg, #7c3aed, #3b82f6); box-shadow: 0 6px 18px rgba(79, 70, 229, 0.2); }
.aoy-stat-column small { padding-top: 0.4rem; color: var(--aoy-text-muted); font-size: 0.6rem; white-space: nowrap; }
.aoy-statistics-table { min-width: 760px; }
.aoy-statistics-table .aoy-empty-result { border: 0; border-radius: 0; }

@media (min-width: 768px) {
  .aoy-statistics-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aoy-statistics-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1180px) {
  .aoy-statistics-filters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.aoy-input-suffix {
  display: flex;
  min-height: 2.75rem;
  overflow: hidden;
  border: 1px solid var(--aoy-border);
  border-radius: 0.7rem;
  background: var(--aoy-surface);
}

.aoy-input-suffix:focus-within { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.13); }
.aoy-input-suffix input { min-width: 0; flex: 1 1 auto; padding: 0.65rem 1rem; color: var(--aoy-text); background: transparent; outline: none; }
.aoy-input-suffix span { display: inline-flex; align-items: center; padding: 0 0.9rem; color: var(--aoy-text-muted); border-left: 1px solid var(--aoy-border); background: var(--aoy-surface-muted); font-size: 0.72rem; font-weight: 650; }

.aoy-country-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.aoy-country-heading .aoy-field-label { margin: 0; }
.aoy-check { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--aoy-text); font-size: 0.75rem; font-weight: 600; }
.aoy-check input { width: 1rem; height: 1rem; border: 1px solid var(--aoy-border); border-radius: 0.3rem; accent-color: #4f46e5; }
.aoy-country-tiers { display: flex; max-width: 100%; align-items: center; gap: 0.4rem; margin-top: 0.7rem; overflow-x: auto; padding-bottom: 0.2rem; color: var(--aoy-text-muted); font-size: 0.68rem; scrollbar-width: thin; }
.aoy-country-tiers > span { flex: 0 0 auto; margin-right: 0.1rem; font-weight: 650; }
.aoy-country-tiers .aoy-non-tiered-note { display: inline-flex; align-items: center; gap: 0.3rem; margin-left: 0.15rem; color: var(--aoy-text-muted); font-weight: 500; white-space: nowrap; }
.aoy-tier-button { display: inline-flex; min-height: 2rem; flex: 0 0 auto; align-items: center; gap: 0.35rem; padding: 0.36rem 0.58rem; border: 1px solid var(--aoy-border); border-radius: 9999px; color: var(--aoy-text-muted); background: var(--aoy-surface); font-size: 0.68rem; font-weight: 700; white-space: nowrap; transition: 150ms ease; }
.aoy-tier-button:hover { color: #4f46e5; border-color: #a5b4fc; }
.aoy-tier-button small { display: inline-flex; min-width: 1.25rem; height: 1.25rem; align-items: center; justify-content: center; padding: 0 0.3rem; border-radius: 9999px; background: var(--aoy-surface-muted); font-size: 0.58rem; }
.aoy-tier-button.is-active { color: #fff; border-color: #4f46e5; background: #4f46e5; box-shadow: 0 5px 14px rgba(79, 70, 229, 0.2); }
.aoy-tier-button.is-active small { color: #4338ca; background: #fff; }
.dark .aoy-tier-button:hover { color: #c7d2fe; }
.aoy-country-select:disabled + .ts-control,
.aoy-country-select[disabled] { opacity: 0.55; cursor: not-allowed; }
.aoy-campaign-layout .ts-wrapper { position: relative; z-index: 4; }
.aoy-campaign-layout .ts-wrapper.dropdown-active { z-index: 40; }
.aoy-campaign-layout .ts-control { min-height: 2.75rem; border-color: var(--aoy-border); border-radius: 0.7rem; background: var(--aoy-surface); }
.aoy-campaign-layout .ts-dropdown { margin-top: 0.4rem; border: 1px solid var(--aoy-border); border-radius: 0.7rem; background: var(--aoy-surface); box-shadow: 0 18px 42px rgba(15, 23, 42, 0.2); }
.aoy-campaign-layout .ts-dropdown-content { max-height: min(15rem, 42vh); padding: 0.35rem; }
.aoy-campaign-layout .ts-dropdown .option { border-radius: 0.45rem; padding: 0.58rem 0.7rem; }

.aoy-campaign-submit { width: 100%; margin-top: 1.25rem; }
.aoy-campaign-submit:disabled { cursor: wait; opacity: 0.7; transform: none; }

.aoy-campaign-summary > .aoy-panel-header > i { color: #6366f1; font-size: 1.1rem; }
.aoy-campaign-summary .aoy-panel-body { display: flex; flex-direction: column; gap: 0; }

.aoy-estimate-row,
.aoy-estimate-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.78rem 0;
  border-bottom: 1px solid var(--aoy-border);
  color: var(--aoy-text-muted);
  font-size: 0.78rem;
}

.aoy-estimate-row strong { color: var(--aoy-text); font-weight: 650; }
.aoy-estimate-total { margin: 0.35rem 0; color: var(--aoy-text); font-weight: 700; }
.aoy-estimate-total strong { color: #4f46e5; font-size: 1.35rem; }
.dark .aoy-estimate-total strong { color: #a5b4fc; }

.aoy-budget-warning {
  margin-top: 0.9rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #fcd34d;
  border-radius: 0.7rem;
  color: #92400e;
  background: #fffbeb;
  font-size: 0.72rem;
  line-height: 1.45;
}

.aoy-budget-warning i { margin-right: 0.35rem; }
.dark .aoy-budget-warning { color: #fcd34d; border-color: rgba(245, 158, 11, 0.35); background: rgba(146, 64, 14, 0.18); }

.aoy-review-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.9rem;
  border-radius: 0.8rem;
  color: #1e40af;
  background: #eff6ff;
}

.aoy-review-note > i { margin-top: 0.15rem; }
.aoy-review-note p { margin: 0; }
.aoy-review-note strong,
.aoy-review-note span { display: block; }
.aoy-review-note strong { font-size: 0.76rem; }
.aoy-review-note span { margin-top: 0.18rem; font-size: 0.68rem; line-height: 1.45; }
.dark .aoy-review-note { color: #bfdbfe; background: rgba(30, 64, 175, 0.18); }

.aoy-campaign-manager-header { align-items: flex-start; }
.aoy-campaign-manager-header > div:first-child { min-width: 0; }
.aoy-campaign-filter-tools { display: flex; max-width: 100%; align-items: center; justify-content: flex-end; }
.aoy-campaign-filters { display: flex; max-width: 100%; align-items: center; flex-wrap: wrap; gap: 0.4rem; }
.aoy-campaign-filter-mobile { display: none; }
.aoy-filter-button { display: inline-flex; min-height: 2.1rem; flex: 0 0 auto; align-items: center; justify-content: center; padding: 0.43rem 0.7rem; border: 1px solid var(--aoy-border); border-radius: 9999px; color: var(--aoy-text-muted); background: var(--aoy-surface); font-size: 0.7rem; font-weight: 650; line-height: 1; white-space: nowrap; }
.aoy-filter-button:hover { color: #4f46e5; border-color: #a5b4fc; }
.aoy-filter-button.is-active { color: #fff; border-color: #4f46e5; background: #4f46e5; }

.aoy-campaign-feedback { margin: 1rem 1.25rem 0; padding: 0.75rem 0.9rem; border-radius: 0.7rem; font-size: 0.78rem; }
.aoy-campaign-feedback.is-success { color: #047857; background: #d1fae5; }
.aoy-campaign-feedback.is-error { color: #b91c1c; background: #fee2e2; }
.dark .aoy-campaign-feedback.is-success { color: #6ee7b7; background: rgba(4, 120, 87, 0.2); }
.dark .aoy-campaign-feedback.is-error { color: #fca5a5; background: rgba(185, 28, 28, 0.2); }

.aoy-campaign-table { min-width: 1080px; }
.aoy-campaign-name,
.aoy-delivery { display: flex; min-width: 10rem; flex-direction: column; gap: 0.2rem; }
.aoy-campaign-name strong { max-width: 17rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aoy-campaign-name a { display: inline-flex; max-width: 17rem; align-items: center; gap: 0.3rem; overflow: hidden; color: #4f46e5; font-size: 0.7rem; text-overflow: ellipsis; white-space: nowrap; }
.aoy-campaign-name a i { font-size: 0.58rem; }
.dark .aoy-campaign-name a { color: #a5b4fc; }
.aoy-campaign-endpoint { display: inline-flex; max-width: 17rem; align-items: center; gap: 0.3rem; overflow: hidden; color: var(--aoy-text-muted); font-size: 0.7rem; text-overflow: ellipsis; white-space: nowrap; }
.aoy-campaign-endpoint i { color: #059669; font-size: 0.62rem; }
.aoy-delivery span,
.aoy-cell-note { display: block; margin-top: 0.18rem; color: var(--aoy-text-muted); font-size: 0.68rem; }

.aoy-status { display: inline-flex; padding: 0.32rem 0.62rem; border-radius: 9999px; font-size: 0.68rem; font-weight: 700; white-space: nowrap; }
.aoy-status.is-pending { color: #92400e; background: #fef3c7; }
.aoy-status.is-active { color: #047857; background: #d1fae5; }
.aoy-status.is-rejected { color: #b91c1c; background: #fee2e2; }
.aoy-status.is-ended { color: #475569; background: #e2e8f0; }
.aoy-status.is-paused { color: #1d4ed8; background: #dbeafe; }
.dark .aoy-status.is-pending { color: #fcd34d; background: rgba(146, 64, 14, 0.22); }
.dark .aoy-status.is-active { color: #6ee7b7; background: rgba(4, 120, 87, 0.22); }
.dark .aoy-status.is-rejected { color: #fca5a5; background: rgba(185, 28, 28, 0.22); }
.dark .aoy-status.is-ended { color: #cbd5e1; background: rgba(71, 85, 105, 0.35); }
.dark .aoy-status.is-paused { color: #93c5fd; background: rgba(29, 78, 216, 0.22); }

.aoy-row-actions { display: flex; justify-content: flex-end; gap: 0.4rem; }
.aoy-row-action { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.4rem 0.55rem; border: 1px solid var(--aoy-border); border-radius: 0.55rem; color: #4338ca; background: var(--aoy-surface); font-size: 0.68rem; font-weight: 650; }
.aoy-row-action:hover { border-color: #a5b4fc; background: #eef2ff; }
.aoy-row-action.is-danger { color: #b91c1c; }
.aoy-row-action.is-add { color: #047857; border-color: #a7f3d0; background: #ecfdf5; }
.aoy-row-action.is-add:hover { border-color: #6ee7b7; background: #d1fae5; }
.aoy-row-action.is-danger:hover { border-color: #fecaca; background: #fff1f2; }
.dark .aoy-row-action { color: #c7d2fe; }
.dark .aoy-row-action:hover { background: rgba(99, 102, 241, 0.16); }
.dark .aoy-row-action.is-danger { color: #fca5a5; }
.dark .aoy-row-action.is-add { color: #6ee7b7; border-color: rgba(16, 185, 129, 0.3); background: rgba(4, 120, 87, 0.16); }
.dark .aoy-row-action.is-danger:hover { background: rgba(185, 28, 28, 0.18); }
.aoy-row-action:disabled { cursor: wait; opacity: 0.5; }
.aoy-no-action { color: var(--aoy-text-muted); font-size: 0.68rem; }

.aoy-loading-line { display: flex; min-height: 8rem; align-items: center; justify-content: center; gap: 0.6rem; color: var(--aoy-text-muted); }

.aoy-dialog {
  width: min(calc(100% - 2rem), 31rem);
  max-width: 31rem;
  padding: 0;
  border: 0;
  border-radius: 1rem;
  color: var(--aoy-text);
  background: transparent;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.3);
}

.aoy-dialog::backdrop { background: rgba(15, 23, 42, 0.62); backdrop-filter: blur(3px); }
.aoy-dialog-card { overflow: hidden; border: 1px solid var(--aoy-border); border-radius: 1rem; background: var(--aoy-surface); }
.aoy-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.35rem 1.4rem; border-bottom: 1px solid var(--aoy-border); }
.aoy-dialog-header h2 { margin: 0.7rem 0 0; color: var(--aoy-text); font-size: 1.15rem; font-weight: 700; }
.aoy-dialog-header p { margin: 0.2rem 0 0; color: var(--aoy-text-muted); font-size: 0.76rem; }
.aoy-dialog-close { display: inline-flex; width: 2.25rem; height: 2.25rem; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 0.65rem; color: var(--aoy-text-muted); background: var(--aoy-surface-muted); }
.aoy-dialog-close:hover { color: var(--aoy-text); }
.aoy-dialog-body { padding: 1.35rem 1.4rem; }
.aoy-dialog-estimate { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 0.75rem; color: var(--aoy-text-muted); background: var(--aoy-surface-muted); font-size: 0.75rem; }
.aoy-dialog-estimate strong { color: #4f46e5; font-size: 1.05rem; }
.dark .aoy-dialog-estimate strong { color: #a5b4fc; }
.aoy-dialog-body .aoy-campaign-feedback { margin: 1rem 0 0; }
.aoy-dialog-actions { display: flex; justify-content: flex-end; gap: 0.65rem; padding: 1rem 1.4rem; border-top: 1px solid var(--aoy-border); background: var(--aoy-surface-muted); }
.aoy-campaign-table.is-empty,
.aoy-statistics-table.is-empty { min-width: 0; }
.aoy-campaign-table.is-empty thead,
.aoy-statistics-table.is-empty thead { display: none; }
.aoy-campaign-table.is-empty td,
.aoy-statistics-table.is-empty td { padding: 0; border: 0; }
.aoy-table-empty { display: flex; width: 100%; min-height: 11rem; align-items: center; justify-content: center; flex-direction: column; padding: 2.25rem 1rem; border: 0; border-radius: 0; }
.aoy-table td.aoy-table-empty,
.aoy-table-wide td.aoy-table-empty { display: table-cell; width: auto; height: 11rem; min-height: 0; vertical-align: middle; }
.aoy-table td.aoy-table-empty > .aoy-empty-icon,
.aoy-table-wide td.aoy-table-empty > .aoy-empty-icon { margin: 0 auto 0.7rem; }
.aoy-table-empty > .aoy-empty-icon { display: flex; width: 2.8rem; height: 2.8rem; align-items: center; justify-content: center; margin: 0 0 0.7rem; border-radius: 9999px; color: #4f46e5; background: #eef2ff; }
.aoy-table-empty > strong { display: block; width: auto; max-width: 34rem; color: var(--aoy-text); font-size: 0.85rem; line-height: 1.4; }
.aoy-table-empty > p { width: auto; max-width: 34rem; margin: 0.3rem 0 0; color: var(--aoy-text-muted); font-size: 0.72rem; line-height: 1.5; white-space: normal; }
.aoy-table td.aoy-table-empty > strong,
.aoy-table-wide td.aoy-table-empty > strong { margin-right: auto; margin-left: auto; }
.aoy-table td.aoy-table-empty > p,
.aoy-table-wide td.aoy-table-empty > p { margin: 0.3rem auto 0; }
.aoy-empty-action { display: inline-flex; min-height: 2.35rem; align-items: center; justify-content: center; gap: 0.4rem; margin-top: 1rem; padding: 0.48rem 0.8rem; border-radius: 0.65rem; color: #fff; background: linear-gradient(135deg, #4f46e5, #7c3aed); font-size: 0.7rem; font-weight: 700; box-shadow: 0 6px 16px rgba(79, 70, 229, 0.18); }
.aoy-empty-action:hover { transform: translateY(-1px); box-shadow: 0 9px 20px rgba(79, 70, 229, 0.25); }
.dark .aoy-table-empty > .aoy-empty-icon { color: #c7d2fe; background: rgba(99, 102, 241, 0.16); }

@media (max-width: 767px) {
  .aoy-history-table.is-empty { min-width: 100%; table-layout: fixed; }
  .aoy-history-table.is-empty thead { display: none; }
}

@media (min-width: 768px) {
  .aoy-field-span-2 { grid-column: span 2 / span 2; }
}

@media (min-width: 1180px) {
  .aoy-campaign-layout { grid-template-columns: minmax(0, 1.75fr) minmax(18rem, 0.75fr); }
  .aoy-campaign-summary { position: sticky; top: 5.75rem; }
}

@media (max-width: 1023px) {
  .aoy-workspace-tabs { display: flex; overflow-x: auto; padding: 0.4rem; overscroll-behavior-inline: contain; scrollbar-width: thin; }
  .aoy-workspace-tab { min-width: 11.5rem; min-height: 3.9rem; }
  .aoy-campaign-manager-header { align-items: stretch; flex-direction: column; }
  .aoy-campaign-manager-header > div:first-child,
  .aoy-campaign-filter-tools { width: 100%; }
  .aoy-campaign-filters { display: none; }
  .aoy-campaign-filter-mobile { display: grid; width: 100%; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.65rem; color: var(--aoy-text-muted); font-size: 0.7rem; font-weight: 650; }
  .aoy-campaign-filter-mobile select { width: 100%; min-height: 2.6rem; padding: 0.55rem 2.2rem 0.55rem 0.75rem; border: 1px solid var(--aoy-border); border-radius: 0.7rem; color: var(--aoy-text); background: var(--aoy-surface); outline: none; }
  .aoy-campaign-filter-mobile select:focus { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.13); }
}

@media (max-width: 767px) {
  .aoy-campaign-balance { width: 100%; min-width: 0; }
  .aoy-country-heading { align-items: flex-start; flex-direction: column; gap: 0.5rem; }
  .aoy-campaign-layout .ts-dropdown-content { max-height: min(12rem, 36vh); }
  .aoy-api-preview { grid-template-columns: auto minmax(0, 1fr); }
  .aoy-api-ready { grid-column: 2; justify-self: start; }
}

@media (max-width: 639px) {
  .aoy-campaign-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
  .aoy-campaign-stats .aoy-stat-card { min-height: 6rem; padding: 1rem; }
  .aoy-campaign-stats .aoy-stat-value { margin-top: 0.55rem; font-size: 1.4rem; }
}

/* Campaign-specific AoyWallet checkout */
.aoy-campaign-balance small { max-width: 15rem; color: rgba(255, 255, 255, 0.78); font-size: 0.67rem; line-height: 1.45; }
.aoy-status.is-unpaid { color: #9a3412; background: #ffedd5; }
.aoy-status.is-refunded { color: #475569; background: #e2e8f0; }
.dark .aoy-status.is-unpaid { color: #fdba74; background: rgba(154, 52, 18, 0.24); }
.dark .aoy-status.is-refunded { color: #cbd5e1; background: rgba(71, 85, 105, 0.35); }
.aoy-row-action.is-pay { color: #fff; border-color: transparent; background: linear-gradient(135deg, #4f46e5, #7c3aed); box-shadow: 0 5px 14px rgba(79, 70, 229, 0.2); }
.aoy-row-action.is-pay:hover { color: #fff; border-color: transparent; background: linear-gradient(135deg, #4338ca, #6d28d9); }
.dark .aoy-row-action.is-pay,
.dark .aoy-row-action.is-pay:hover { color: #fff; }
.aoy-earning-header-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 0.65rem; }
.aoy-payment-hero .aoy-hero-title { max-width: 47rem; }
.aoy-payment-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; margin: 0; padding: 0; border: 1px solid var(--aoy-border); border-radius: 1rem; background: var(--aoy-surface); box-shadow: var(--aoy-shadow); list-style: none; }
.aoy-payment-steps li { position: relative; display: flex; min-width: 0; align-items: center; gap: 0.75rem; padding: 1rem 1.1rem; }
.aoy-payment-steps li + li { border-left: 1px solid var(--aoy-border); }
.aoy-payment-steps li > span { display: inline-flex; width: 2.35rem; height: 2.35rem; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 9999px; color: var(--aoy-text-muted); background: var(--aoy-surface-muted); }
.aoy-payment-steps li.is-complete > span { color: #047857; background: #d1fae5; }
.aoy-payment-steps li.is-current > span { color: #fff; background: linear-gradient(135deg, #4f46e5, #7c3aed); box-shadow: 0 5px 16px rgba(79, 70, 229, 0.28); }
.aoy-payment-steps strong,
.aoy-payment-steps small { display: block; }
.aoy-payment-steps strong { color: var(--aoy-text); font-size: 0.77rem; }
.aoy-payment-steps small { margin-top: 0.15rem; color: var(--aoy-text-muted); font-size: 0.65rem; line-height: 1.4; }
.dark .aoy-payment-steps li.is-complete > span { color: #6ee7b7; background: rgba(4, 120, 87, 0.22); }
.aoy-payment-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(20rem, 0.75fr); align-items: start; gap: 1.1rem; }
.aoy-campaign-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding-top: 0.25rem; padding-bottom: 0.25rem; }
.aoy-campaign-detail-grid > div { min-width: 0; padding: 1rem 0; border-bottom: 1px solid var(--aoy-border); }
.aoy-campaign-detail-grid > div:nth-child(odd):not(.is-wide) { padding-right: 1rem; }
.aoy-campaign-detail-grid > div:nth-child(even):not(.is-wide) { padding-left: 1rem; border-left: 1px solid var(--aoy-border); }
.aoy-campaign-detail-grid > .is-wide { grid-column: 1 / -1; }
.aoy-campaign-detail-grid span,
.aoy-campaign-detail-grid strong,
.aoy-campaign-detail-grid p,
.aoy-campaign-detail-grid a { display: block; }
.aoy-campaign-detail-grid span { color: var(--aoy-text-muted); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.aoy-campaign-detail-grid strong,
.aoy-campaign-detail-grid p,
.aoy-campaign-detail-grid a { margin-top: 0.35rem; color: var(--aoy-text); font-size: 0.8rem; line-height: 1.55; overflow-wrap: anywhere; }
.aoy-campaign-detail-grid a { color: #4f46e5; font-weight: 650; }
.dark .aoy-campaign-detail-grid a { color: #a5b4fc; }
.aoy-payment-summary { position: sticky; top: 5.75rem; }
.aoy-payment-button { width: 100%; margin-top: 1.15rem; }
.aoy-payment-success { display: flex; align-items: flex-start; gap: 0.7rem; margin-top: 1.15rem; padding: 0.9rem; border: 1px solid #a7f3d0; border-radius: 0.8rem; color: #065f46; background: #ecfdf5; }
.aoy-payment-success > i { margin-top: 0.2rem; }
.aoy-payment-success strong,
.aoy-payment-success span { display: block; }
.aoy-payment-success span { margin-top: 0.15rem; font-size: 0.69rem; line-height: 1.5; }
.dark .aoy-payment-success { border-color: rgba(16, 185, 129, 0.3); color: #a7f3d0; background: rgba(4, 120, 87, 0.16); }
.aoy-payment-summary .aoy-review-note { margin-top: 1rem; }
.aoy-payment-wallet-help { margin: 1rem 0 0; color: var(--aoy-text-muted); text-align: center; font-size: 0.69rem; }
.aoy-payment-wallet-help a { color: #4f46e5; font-weight: 700; }
.dark .aoy-payment-wallet-help a { color: #a5b4fc; }

@media (max-width: 1023px) {
  .aoy-payment-layout { grid-template-columns: 1fr; }
  .aoy-payment-summary { position: static; }
  .aoy-payment-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aoy-payment-steps li:nth-child(3) { border-left: 0; border-top: 1px solid var(--aoy-border); }
  .aoy-payment-steps li:nth-child(4) { border-top: 1px solid var(--aoy-border); }
}

@media (max-width: 767px) {
  .aoy-earning-header-actions { width: 100%; justify-content: stretch; }
  .aoy-earning-header-actions .aoy-button { flex: 1 1 12rem; }
  .aoy-payment-steps { grid-template-columns: 1fr; }
  .aoy-payment-steps li + li,
  .aoy-payment-steps li:nth-child(3) { border-left: 0; border-top: 1px solid var(--aoy-border); }
  .aoy-campaign-detail-grid { grid-template-columns: 1fr; }
  .aoy-campaign-detail-grid > div:nth-child(odd):not(.is-wide),
  .aoy-campaign-detail-grid > div:nth-child(even):not(.is-wide) { padding-right: 0; padding-left: 0; border-left: 0; }
}
