/* Restored account panel. The shared reader owns page scrolling. Native UI is a PNG. */
.acp-page {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 100%;
  padding: 24px 40px 16px;
  background: #121c19;
  color: #f0f3e9;
  font-family: Inter, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.acp-page *,
.acp-page *::before,
.acp-page *::after { box-sizing: border-box; }

.acp-page :where(h1, p, ul, figure) { margin: 0; }
.acp-page :where(header, div, figure, p) { min-width: 0; }

.acp-page .acp-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: start;
  gap: 36px;
}

.acp-page .acp-kicker {
  color: #c2b8ff;
  font-size: 11px;
  font-weight: 550;
  line-height: 16px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.acp-page .acp-title {
  margin-top: 8px;
  color: #f0f3e9;
  font-size: 52px;
  font-weight: 550;
  line-height: 1.1;
  letter-spacing: -.055em;
}

.acp-page .acp-accent { color: #d0f5a5; }

.acp-page .acp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 19px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}

.acp-page .acp-action {
  display: inline-flex;
  align-items: center;
  gap: 19px;
  color: #d5dfd7;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
}

.acp-page .acp-action + .acp-action::before {
  content: '';
  width: 1px;
  height: 12px;
  background: #35453d;
}

.acp-page .acp-intro {
  padding-top: 2px;
  color: #a2b0a8;
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: -.012em;
}

.acp-page .acp-detail { color: #d5dfd7; font-weight: 500; }

.acp-page .acp-figure {
  width: min(100%, 1240px);
  margin: 16px auto 0;
}

.acp-page .acp-snapshot-viewport {
  overflow: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #82917f #f0f3e9;
}

.acp-page .acp-snapshot-link {
  display: block;
  min-width: 0;
  border: 1px solid #35453d;
  background: #f0f3e9;
  cursor: zoom-in;
}

.acp-page .acp-snapshot {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.acp-page .acp-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 10px;
  color: #a2b0a8;
  font-size: 11px;
  font-weight: 400;
  line-height: 20px;
}

.acp-page .acp-original {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 8px;
  color: #d0f5a5;
  font-size: 12px;
  text-decoration: none;
  text-underline-offset: 4px;
}

.acp-page .acp-original:hover { text-decoration: underline; }
.acp-page .acp-arrow { display: block; width: 15px; height: 15px; }

.acp-page .acp-snapshot-link:focus-visible,
.acp-page .acp-original:focus-visible { outline: 2px solid #c2b8ff; outline-offset: 5px; }

@container reader (max-width: 1200px) {
  .acp-page { padding: 24px 28px 20px; }
  .acp-page .acp-header { grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; }
  .acp-page .acp-title { font-size: 46px; }
  .acp-page .acp-actions { gap: 6px 14px; }
  .acp-page .acp-action { gap: 14px; }
}

@container reader (max-width: 800px) {
  .acp-page .acp-header { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .acp-page .acp-intro { max-width: 54ch; font-size: 17px; line-height: 1.5; }
  .acp-page .acp-action { font-size: 14px; line-height: 22px; }
  .acp-page .acp-snapshot-link { width: 1656px; }
}

@container reader (max-width: 500px) {
  .acp-page { padding: 26px 20px 32px; }
  .acp-page .acp-title { font-size: 42px; }
  .acp-page .acp-actions { display: grid; gap: 4px; }
  .acp-page .acp-action + .acp-action::before { display: none; }
  .acp-page .acp-figure { margin-top: 24px; }
  .acp-page .acp-caption { flex-direction: column; align-items: flex-start; gap: 4px; font-size: 13px; line-height: 20px; }
  .acp-page .acp-original { min-height: 44px; font-size: 14px; }
}

@container reader (max-width: 360px) {
  .acp-page { padding-inline: 16px; }
  .acp-page .acp-title { font-size: 38px; }
}
