.ae-dialog {
  box-sizing: border-box;
  width: calc(100% - 24px);
  max-width: 680px;
  height: calc(100dvh - 36px);
  max-height: 1000px;
  margin: auto;
  padding: 0;
  border: 1px solid #b99ac64d;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 100% 70%, #e99bc40a, transparent 60%), #120e1d;
  color: #eee7f5;
  font-family: inherit;
  box-shadow: 0 24px 80px #0008;
  overflow: hidden;
}
.ae-dialog::backdrop {
  background: #08060dbf;
  backdrop-filter: blur(8px);
}
.ae-dialog * {
  box-sizing: border-box;
}
.ae-dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 10px 20px;
  background: #120e1df5;
  border-bottom: 1px solid #b99ac61a;
}
.ae-dialog > header span {
  font-size: 12px;
  letter-spacing: 1.2px;
  color: #c9afd7;
}
.ae-dialog button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #ddd0e8;
  font-size: 30px;
  cursor: pointer;
}
.ae-scroll {
  height: calc(100% - 65px);
  padding: 24px clamp(18px, 5vw, 38px) 42px;
  overflow: auto;
  overscroll-behavior: contain;
  scroll-padding-top: 20px;
}
.ae-controls {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.ae-controls label {
  display: grid;
  gap: 5px;
  flex: 1 1 110px;
  font-size: 11px;
  color: #a99ab5;
}
.ae-controls select {
  width: 100%;
  min-height: 44px;
  padding: 8px;
  border: 1px solid #b99ac633;
  border-radius: 10px;
  background: #1a1424;
  color: #e4d9ed;
  font: inherit;
  font-size: 13px;
}
.ae-controls a {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  color: #a9c8e4;
}
.ae-review-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #ab90bb;
}
.ae-dialog h1 {
  font-size: clamp(27px, 6.8vw, 38px);
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 18px 0 22px;
}
.ae-dialog p {
  font-size: 16px;
  line-height: 1.8;
  color: #bdb1c9;
  margin: 15px 0;
  overflow-wrap: anywhere;
}
.ae-proof {
  margin: 24px 0;
  color: #94859f;
  font-size: 12px;
  line-height: 1.7;
}
.ae-proof summary {
  cursor: pointer;
  min-height: 44px;
  padding: 10px 0;
}
.ae-proof p {
  font-size: 12px;
}
.ae-stages {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding: 12px 0 18px;
  border-bottom: 1px solid #b99ac626;
}
.ae-stages a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #bba6ca;
  font-size: 12px;
  text-decoration: none;
}
.ae-dialog section {
  padding-top: 34px;
}
.ae-dialog h2 {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin: 10px 0 22px;
}
.ae-dialog h2 span {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: #cf9bbe;
  margin-right: 8px;
}
.ae-dialog h3 {
  font-size: 16px;
  margin: 30px 0 10px;
  color: #d7c9e2;
}
.ae-dialog .ae-insight {
  color: #cfb9db;
  font-size: 17px;
}
.ae-scene {
  padding: 22px;
  border: 1px solid #bd8fa52e;
  border-radius: 22px;
  background: linear-gradient(135deg, #e99bc409, transparent);
}
.ae-scene small,
.ae-experiment small {
  font-size: 10px;
  letter-spacing: 2px;
  color: #e7a3c6;
}
.ae-experiment {
  padding: 10px 0 10px 18px;
  border-left: 2px solid #87bdb955;
  margin-top: 32px;
}
.ae-experiment small {
  color: #87bdb9;
}
.ae-dialog blockquote {
  font-size: 24px;
  line-height: 1.5;
  color: #e7a3c6;
  margin: 40px 0;
}
.ae-dialog .ae-takeaway {
  padding: 24px;
  border: 1px solid #bd8fa53d;
  border-radius: 22px;
  background: #e99bc405;
  color: #e4d9ed;
  font-size: 19px;
}
.ae-dialog .ae-next {
  font-size: 12px;
  color: #9687a3;
  margin-top: 24px;
}
.ae-dialog :focus-visible {
  outline: 2px solid #c5a4e5;
  outline-offset: 2px;
}
