#app .wrap.ax-stories {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 46px) 12px 48px;
}
@media (min-width: 651px) {
  #app .wrap.ax-stories { width: calc(100% - 36px); padding-inline: 0; }
}
@media (min-width: 1100px) {
  #app .wrap.ax-stories { width: min(1740px, calc(100% - 56px)); max-width: 1740px; }
}
#app .ax-stories.stag > * { animation: none; }
.ax-stories__header { margin-bottom: 24px; }
.ax-stories__header h1 {
  margin: 0;
  padding-inline-start: 12px;
  border-inline-start: 4px solid var(--red, #c41026);
  color: var(--ink, #14141a);
  font-size: clamp(28px, 4.5vw, 43px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.04em;
}
.ax-stories__header p {
  margin: 10px 0 0;
  color: var(--mute, #666);
  font-size: 14px;
  line-height: 1.5;
}
.ax-stories__list { display: grid; gap: 10px; }
.ax-stories__message, .ax-story {
  margin: 0;
  border: 1px solid var(--line, #e4e4e8);
  border-radius: 14px;
  background: var(--paper, #fff);
  color: var(--ink, #14141a);
}
.ax-stories__message { padding: 20px; line-height: 1.5; }
.ax-story[open] { border-color: color-mix(in srgb, var(--red, #c41026) 35%, var(--line, #e4e4e8)); }
.ax-story > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 24px;
  gap: clamp(9px, 2vw, 20px);
  align-items: center;
  padding: clamp(15px, 3vw, 22px);
  cursor: pointer;
  list-style: none;
  border-radius: 13px;
}
.ax-story > summary::-webkit-details-marker { display: none; }
.ax-story > summary:hover { background: var(--soft, #f4f4f6); }
.ax-story > summary:focus-visible { outline: 2px solid var(--red, #c41026); outline-offset: 2px; }
.ax-story__heading { min-width: 0; }
.ax-story__heading strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 750;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.ax-story__meta { display: flex; flex-wrap: wrap; gap: 3px 11px; font-size: 11px; color: var(--mute, #666); }
.ax-story__category { font-weight: 750; color: var(--red, #c41026); }
.ax-story__count {
  padding: 5px 8px;
  background: var(--soft, #f4f4f6);
  border: 1px solid var(--line, #e4e4e8);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
  color: var(--mute, #666);
}
.ax-story__chevron {
  justify-self: center;
  width: 8px;
  height: 8px;
  border: solid var(--red, #c41026);
  border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}
.ax-story[open] .ax-story__chevron { transform: translateY(2px) rotate(225deg); }
.ax-story__timeline {
  margin: 0 clamp(15px, 3vw, 22px) 14px;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid var(--line, #e4e4e8);
  border-radius: 0;
}
.ax-story__timeline p { margin: 0 0 3px; color: var(--mute, #666); font-size: 11px; }
.ax-story__timeline ol { margin-top: 4px; }
@media(max-width:540px) {
  .ax-story > summary { grid-template-columns: minmax(0, 1fr) 18px; gap: 8px 12px; }
  .ax-story__count { grid-row: 2; justify-self: start; }
  .ax-story__chevron { grid-column: 2; grid-row: 1; }
}
@media(prefers-reduced-motion:reduce) { .ax-story__chevron { transition: none; } }
