.aoc-page {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 100%;
  padding: 30px 56px 24px;
  background: #121c19;
  color: #f0f3e9;
  font-family: Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

.aoc-page .aoc-kicker {
  color: #c2b8ff;
  font-size: 12px;
  font-weight: 550;
  line-height: 18px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.aoc-page .aoc-title {
  margin-top: 12px;
  font-size: 80px;
  font-weight: 550;
  line-height: 1.02;
  letter-spacing: -.055em;
}

.aoc-page .aoc-title-accent { display: block; color: #d0f5a5; }

.aoc-page .aoc-intro {
  max-width: 980px;
  margin-top: 18px;
  color: #d5dfd7;
  font-size: 18px;
  line-height: 27px;
}

.aoc-page .aoc-figure { margin-top: 28px; }

.aoc-page .aoc-scene-heading,
.aoc-page .aoc-lane {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1.12fr);
  align-items: stretch;
}

.aoc-page .aoc-account {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border: 1px solid #35453d;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: #1b2923;
}

.aoc-page .aoc-account-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #c2b8ff;
  color: #121c19;
  font-size: 18px;
  font-weight: 550;
}

.aoc-page .aoc-account-name { font-size: 17px; font-weight: 550; line-height: 22px; }
.aoc-page .aoc-account-label { color: #a2b0a8; font-size: 13px; line-height: 19px; }

.aoc-page .aoc-choice-label {
  grid-column: 3;
  align-self: center;
  color: #a2b0a8;
  font-size: 14px;
  line-height: 21px;
}

.aoc-page .aoc-source {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid #35453d;
  border-bottom: 0;
  background: #1b2923;
}

.aoc-page .aoc-source-chat {
  min-height: 108px;
  padding-left: 18px;
  border-left: 3px solid #d0f5a5;
  background: #283c2b;
}

.aoc-page .aoc-source-dialogs {
  border-bottom: 1px solid #35453d;
  border-radius: 0 0 16px 16px;
}

.aoc-page .aoc-source-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.aoc-page .aoc-source-avatar-chat { background: #d0f5a5; color: #121c19; }
.aoc-page .aoc-source-avatar-channel { background: #37334b; color: #c2b8ff; }
.aoc-page .aoc-source-avatar-dialogs { background: #35453d; color: #f0f3e9; font-size: 14px; font-weight: 550; }
.aoc-page .aoc-source-icon { display: block; width: 28px; height: 28px; }
.aoc-page .aoc-mode { color: #a2b0a8; font-size: 14px; line-height: 20px; }
.aoc-page .aoc-source-chat .aoc-mode { color: #d0f5a5; }
.aoc-page .aoc-source-name { margin-top: 4px; font-size: 22px; font-weight: 500; line-height: 28px; letter-spacing: -.025em; }

.aoc-page .aoc-no-link {
  flex: none;
  margin-left: auto;
  padding: 6px 10px;
  border: 1px solid #607951;
  border-radius: 6px;
  color: #d0f5a5;
  font-size: 17px;
  line-height: 23px;
  white-space: nowrap;
}

.aoc-page .aoc-arrow {
  display: block;
  align-self: center;
  justify-self: center;
  width: 64px;
  height: 24px;
  color: #c2b8ff;
}

.aoc-page .aoc-arrow-chat { color: #d0f5a5; }
.aoc-page .aoc-result { align-self: center; padding: 14px 0; }

.aoc-page .aoc-result-title {
  color: #f0f3e9;
  font-size: 27px;
  font-weight: 550;
  line-height: 34px;
  letter-spacing: -.025em;
}

.aoc-page .aoc-result-chat .aoc-result-title { color: #d0f5a5; font-size: 31px; line-height: 38px; }
.aoc-page .aoc-result-note { margin-top: 5px; color: #d5dfd7; font-size: 16px; line-height: 24px; }
.aoc-page .aoc-admin-condition { margin-top: 4px; color: #c2b8ff; font-size: 18px; line-height: 25px; }
.aoc-page .aoc-admin-condition strong { font-weight: 550; }
.aoc-page .aoc-fallback { margin-top: 4px; color: #a2b0a8; font-size: 15px; line-height: 22px; }

.aoc-page .aoc-usernames {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
  color: #c2b8ff;
  font-family: Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 21px;
}

.aoc-page .aoc-caption { margin-top: 15px; color: #a2b0a8; font-size: 12px; line-height: 18px; }

@container reader (max-width: 1300px) {
  .aoc-page { padding: 20px 28px 18px; }
  .aoc-page .aoc-kicker { font-size: 11px; line-height: 16px; }
  .aoc-page .aoc-title { margin-top: 10px; font-size: clamp(42px, 5cqw, 60px); line-height: 1; }
  .aoc-page .aoc-intro { margin-top: 10px; font-size: 16px; line-height: 22px; }
  .aoc-page .aoc-figure { margin-top: 14px; }
  .aoc-page .aoc-scene-heading,
  .aoc-page .aoc-lane { grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1.15fr); }
  .aoc-page .aoc-account { gap: 10px; padding: 10px 16px; }
  .aoc-page .aoc-account-avatar { width: 34px; height: 34px; }
  .aoc-page .aoc-account-name { font-size: 16px; line-height: 20px; }
  .aoc-page .aoc-account-label { font-size: 12px; line-height: 18px; }
  .aoc-page .aoc-source { padding: 14px 16px; gap: 12px; }
  .aoc-page .aoc-source-chat { min-height: 84px; padding-left: 14px; }
  .aoc-page .aoc-source-avatar { width: 40px; height: 40px; }
  .aoc-page .aoc-source-name { font-size: 20px; line-height: 26px; }
  .aoc-page .aoc-mode { font-size: 13px; line-height: 18px; }
  .aoc-page .aoc-no-link { padding: 5px 8px; font-size: 14px; line-height: 20px; }
  .aoc-page .aoc-arrow { width: 48px; }
  .aoc-page .aoc-result { padding: 10px 0; }
  .aoc-page .aoc-result-title,
  .aoc-page .aoc-result-chat .aoc-result-title { font-size: 24px; line-height: 28px; }
  .aoc-page .aoc-result-note { margin-top: 4px; font-size: 15px; line-height: 22px; }
  .aoc-page .aoc-admin-condition { font-size: 16px; line-height: 22px; }
  .aoc-page .aoc-fallback { font-size: 14px; line-height: 20px; }
  .aoc-page .aoc-usernames { margin-top: 6px; font-size: 13px; line-height: 20px; }
  .aoc-page .aoc-caption { margin-top: 10px; line-height: 16px; }
}

@container reader (max-width: 760px) {
  .aoc-page .aoc-scene-heading { display: flex; flex-wrap: wrap; gap: 12px; }
  .aoc-page .aoc-account { width: 100%; border: 1px solid #35453d; border-radius: 12px; }
  .aoc-page .aoc-choice-label { width: 100%; }
  .aoc-page .aoc-lane { grid-template-columns: minmax(0, 1fr); margin-top: 18px; border: 1px solid #35453d; border-radius: 14px; }
  .aoc-page .aoc-lane-chat { border-color: #607951; }
  .aoc-page .aoc-source { padding: 16px; border: 0; border-radius: 13px 13px 0 0; }
  .aoc-page .aoc-source-chat { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px 12px; border-left: 3px solid #d0f5a5; }
  .aoc-page .aoc-no-link { grid-column: 2; justify-self: start; margin-left: 0; }
  .aoc-page .aoc-arrow { transform: rotate(90deg); margin: 12px 0; }
  .aoc-page .aoc-result { padding: 4px 16px 18px; }
  .aoc-page :where(.aoc-result-note, .aoc-admin-condition, .aoc-fallback) { overflow-wrap: anywhere; }
}

@container reader (max-width: 600px) {
  .aoc-page { padding: 24px 20px 28px; }
  .aoc-page .aoc-title { font-size: clamp(36px, 9cqw, 46px); line-height: 1.05; }
  .aoc-page .aoc-title-accent { margin-top: 5px; }
  .aoc-page .aoc-intro { margin-top: 16px; font-size: 16px; line-height: 24px; }
  .aoc-page .aoc-figure { margin-top: 22px; }
}
