.story-rail {
  list-style: none;
  margin: 0;
  padding: 4px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}
.story-rail li { scroll-snap-align: start; flex: 0 0 auto; }
.story-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 84px;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  font: 0.75rem var(--font-ui);
  cursor: pointer;
}
.story-bubble .ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(#f0f, #ff0, #0ff, #f0f);
}
.story-bubble .face {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #000080 center / cover no-repeat;
  border: 3px solid var(--panel);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
}
.story-bubble .who { max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.story-bubble .left { color: #800000; }

.kinds { border: 2px groove var(--panel-light); }
.kinds label { display: inline-block; margin-right: 12px; font-weight: normal; }
.preview { display: block; max-width: 100%; max-height: 240px; margin-top: 6px; border: 2px inset var(--panel-light); }

.viewer { margin: 0; }
.viewer .title .x { margin: 0; padding: 0 6px; font-size: 0.9rem; line-height: 1.2; }
.viewer .title form { margin: 0; }
.progress { height: 6px; background: #fff; }
.progress span { display: block; height: 100%; width: 0; background: #000080; }
.viewer .body { min-height: 220px; max-height: 70vh; overflow: auto; }
.viewer .body img { display: block; max-width: 100%; margin: 0 auto 8px; }
.viewer .story-text {
  font: 1.4rem/1.3 var(--font-fun);
  text-align: center;
  padding: 30px 10px;
  background: linear-gradient(135deg, #ff9, #9ff);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.viewer .news-head { font: bold 1.5rem/1.2 var(--font-serif); text-transform: uppercase; border-bottom: 3px double #000; }
.viewer .news-body { font-family: var(--font-serif); white-space: pre-wrap; overflow-wrap: anywhere; }
.viewer-nav { display: flex; justify-content: space-between; align-items: center; padding: 0 10px 10px; }
.story-bubble.featured .ring { background: conic-gradient(#ffd700, #fff6a0, #e0b000, #ffd700); padding: 5px; }
