/* Editorial, light-only entrances. All selectors are scoped to the role gate. */
html[data-mx-site="fashion"] .role-entrance {
  --entry-bg: #f5f3ef;
  --entry-ink: #292722;
  --entry-accent: #79674a;
  --entry-tint: #eeebe4;
  --entry-border: #dad6cd;
}
html[data-mx-site="consumables"] .role-entrance {
  --entry-bg: #f3f5f7;
  --entry-ink: #253342;
  --entry-accent: #47627b;
  --entry-tint: #e8edf2;
  --entry-border: #d5dde5;
}
html[data-mx-site] .role-entrance {
  --entry-muted: #59616b;
  width: min(1120px, calc(100% - 64px));
  min-height: calc(100svh - 72px);
  padding: 64px 0 72px;
  justify-content: center;
  font-family: Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}
html[data-mx-site] .role-entrance::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: var(--entry-bg);
}
html[data-mx-site] .entrance-ambient { display: none; }
html[data-mx-site] .role-entrance-copy {
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: left;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--entry-border);
}
html[data-mx-site] .role-entrance-copy > span {
  padding: 0 0 0 12px;
  border: 0;
  border-left: 3px solid var(--entry-accent);
  border-radius: 0;
  background: transparent;
  color: var(--entry-accent);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 650;
  letter-spacing: .14em;
}
html[data-mx-site] .role-entrance-copy h1 {
  max-width: 22ch;
  margin: 24px 0 0;
  color: var(--entry-ink);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 560;
  letter-spacing: -.048em;
  line-height: 1.1;
  text-wrap: balance;
}
html[data-mx-site] .role-entrance-copy p {
  max-width: 64ch;
  margin: 23px 0 0;
  color: var(--entry-muted);
  font-size: 15px;
  line-height: 1.7;
}
html[data-mx-site] .role-entrance-grid {
  margin-top: 28px;
  gap: 18px;
}
html[data-mx-site] .role-entrance-grid > button {
  min-height: 278px;
  padding: 27px;
  border: 1px solid var(--entry-border);
  border-radius: 8px;
  background: #fff;
  color: var(--entry-ink);
  box-shadow: 0 2px 6px rgba(35, 43, 50, .02);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
html[data-mx-site] .role-entrance-grid > button::after { display: none; }
html[data-mx-site] .role-entrance-grid > button:hover {
  transform: translateY(-3px);
  border-color: var(--entry-accent);
  box-shadow: 0 9px 22px rgba(35, 43, 50, .055);
}
html[data-mx-site] .role-entrance-grid > button:focus-visible {
  outline: 2px solid var(--entry-accent);
  outline-offset: 4px;
}
html[data-mx-site] .entrance-icon,
html[data-mx-site] .entrance-icon.seller,
html[data-mx-site] .entrance-icon.am {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  color: var(--entry-accent);
  background: var(--entry-tint);
}
html[data-mx-site] .entrance-card-number {
  color: #777e85;
  font-size: 11px;
  font-weight: 500;
}
html[data-mx-site] .role-entrance-grid small {
  margin-top: 24px;
  color: var(--entry-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .045em;
}
html[data-mx-site] .role-entrance-grid strong {
  margin-top: 9px;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -.025em;
}
html[data-mx-site] .role-entrance-grid p {
  color: var(--entry-muted);
  font-size: 14px;
  line-height: 1.65;
  margin-top: 13px;
}
html[data-mx-site] .role-entrance-grid b {
  width: 100%;
  margin-top: auto;
  padding-top: 22px;
  color: var(--entry-accent);
  font-size: 13px;
  font-weight: 600;
}
html[data-mx-site] .role-entrance .identity-gate {
  background: #fff;
  border-color: var(--entry-border);
  box-shadow: none;
}
@media (max-width: 760px) {
  html[data-mx-site] .role-entrance {
    width: calc(100% - 40px);
    padding: 38px 0 48px;
  }
  html[data-mx-site] .role-entrance-copy h1 {
    font-size: clamp(35px, 7vw, 48px);
    max-width: 22ch;
    letter-spacing: -.045em;
  }
  html[data-mx-site] .role-entrance-copy > span { font-size: 11px; letter-spacing: .1em; }
  html[data-mx-site] .role-entrance-copy p { font-size: 14px; margin-top: 18px; }
  html[data-mx-site] .role-entrance-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
  html[data-mx-site] .role-entrance-grid > button { min-height: 232px; padding: 23px; }
  html[data-mx-site] .role-entrance-grid small { margin-top: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-mx-site] .role-entrance-grid > button { transition: none; }
  html[data-mx-site] .role-entrance-grid > button:hover { transform: none; }
}
