.member-main {
  padding-bottom: 26px;
}

.member-hero {
  align-items: start;
}

.member-auth-shell {
  gap: 34px;
}

.member-auth-card h3,
.member-highlight-card strong,
.member-callback-card h2 {
  margin: 10px 0 14px;
}

.member-highlight-ticker {
  display: block;
  margin-top: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.94;
  color: var(--accent);
}

.member-mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-stats-row {
  padding-top: 0;
}

.member-section-tight {
  padding-top: 18px;
}

.member-auth-form,
.member-search-form {
  display: grid;
  gap: 14px;
}

.member-auth-form {
  margin-top: 20px;
}

.member-auth-form label,
.member-search-form label {
  display: grid;
  gap: 8px;
}

.member-auth-form input,
.member-search-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.member-auth-form input::placeholder,
.member-search-form input::placeholder {
  color: rgba(240, 232, 217, 0.42);
}

.member-check {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
}

.member-check input {
  min-height: auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.member-message {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.6;
}

.member-message-error {
  border: 1px solid rgba(212, 108, 108, 0.32);
  background: rgba(212, 108, 108, 0.1);
  color: #ffd2d2;
}

.member-message-success {
  border: 1px solid rgba(77, 171, 145, 0.32);
  background: rgba(77, 171, 145, 0.1);
  color: #ecf9f3;
}

.member-auth-divider {
  height: 1px;
  margin: 24px 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0)
  );
}

.member-auth-fallback {
  margin: 18px 0 0;
  color: rgba(240, 232, 217, 0.68);
  line-height: 1.6;
}

.member-auth-fallback a {
  color: var(--text);
}

.member-toolbar {
  align-items: end;
}

.member-search-form {
  grid-template-columns: minmax(220px, 300px) auto;
  align-items: center;
}

.member-table-wrap {
  margin-top: 24px;
  overflow-x: auto;
}

.member-table {
  width: 100%;
  border-collapse: collapse;
}

.member-table th,
.member-table td {
  padding: 14px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.member-table th {
  color: rgba(240, 232, 217, 0.62);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.member-table td {
  color: rgba(240, 232, 217, 0.84);
  line-height: 1.55;
}

.member-inline-note {
  margin: 18px 0 0;
  color: rgba(240, 232, 217, 0.72);
  line-height: 1.7;
}

.member-archive-stats-row {
  padding-top: 18px;
}

.member-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  margin: 6px 8px 0 0;
  border: 1px solid rgba(77, 171, 145, 0.24);
  border-radius: 999px;
  background: rgba(77, 171, 145, 0.12);
  color: #eef7f2;
  font-size: 0.8rem;
  font-weight: 700;
}

.member-pill-muted {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(240, 232, 217, 0.82);
}

.member-inline-form {
  margin: 0;
}

.member-callback {
  padding-top: 50px;
  padding-bottom: 50px;
}

.member-callback-card {
  max-width: 760px;
}

.member-footer {
  margin-top: 30px;
}

@media (max-width: 980px) {
  .member-search-form,
  .member-mini-grid,
  .member-filter-form {
    grid-template-columns: 1fr;
  }
}

.member-pick-text {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(240, 232, 217, 0.84);
  line-height: 1.7;
  white-space: pre-line;
}

.member-filter-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px)) auto;
  gap: 14px;
  align-items: end;
  margin-top: 24px;
}

.member-filter-form label {
  display: grid;
  gap: 8px;
}

.member-filter-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.member-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.member-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
}

.member-pagination-status {
  color: rgba(240, 232, 217, 0.72);
  line-height: 1.6;
}

.button.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.member-filter-form select {
  width: 100%;
  min-height: 52px;
  padding: 0 46px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background-color: rgba(28, 30, 35, 0.96);
  background-image:
    linear-gradient(180deg, rgba(28, 30, 35, 0.96), rgba(35, 31, 28, 0.94)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23f0e8d9' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6' d='M1 1.25 6 6.25 11 1.25'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right 16px center;
  background-size: auto, 12px 8px;
  color: var(--text);
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.member-filter-form select::-ms-expand {
  display: none;
}

.member-filter-form select option {
  background: #20242b;
  color: #f0e8d9;
}

@media (max-width: 640px) {
  .member-filter-form {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }

  .member-filter-form label {
    gap: 6px;
  }

  .member-filter-form label span {
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .member-filter-form input {
    min-height: 48px;
    padding: 0 12px;
    font-size: 16px;
    border-radius: 16px;
  }

  .member-filter-form select {
    min-height: 48px;
    padding: 0 40px 0 12px;
    font-size: 16px;
    border-radius: 16px;
    background-position: 0 0, right 14px center;
  }

  .member-filter-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .member-filter-actions .button {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
  }

  .member-inline-note {
    margin-top: 14px;
    line-height: 1.55;
  }
}

.member-closed-trades-hero {
  align-items: start;
}

.member-closed-trades-note h3 {
  margin: 10px 0 12px;
}

.member-compact-stats-row {
  padding-top: 0;
  padding-bottom: 10px;
}

.stat-card-compact {
  padding: 22px 24px;
}

.stat-card-compact p {
  display: none;
}

.stat-card-compact strong {
  margin-bottom: 0;
}

.member-archive-panel .profile-panel-head strong {
  max-width: 36rem;
}

.member-archive-summary {
  margin-top: 14px;
}

@media (max-width: 980px) {
  .member-compact-stats-row {
    grid-template-columns: 1fr;
  }
}

.member-table-muted {
  color: rgba(240, 232, 217, 0.58);
  font-size: 0.88rem;
  margin-left: 6px;
}


.account-edge-grid {
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

.account-store-card {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
  padding: 22px 20px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background: linear-gradient(
    180deg,
    rgba(28, 30, 35, 0.82),
    rgba(35, 31, 28, 0.78)
  );
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.account-store-card .platform-name {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  line-height: 1.45;
}

.account-store-card p {
  margin: 0;
  color: rgba(240, 232, 217, 0.82);
  line-height: 1.55;
  font-size: 0.98rem;
}

@media (max-width: 980px) {
  .account-edge-grid {
    grid-template-columns: 1fr;
  }

  .account-store-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.trial-banner strong {
  color: #f5ede0;
}
