:root {
  color-scheme: dark;
  --bg: #000000;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.6);
  --faint: rgba(255, 255, 255, 0.4);
  --accent: #0a84ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.011em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a,
a:visited {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  touch-action: manipulation;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: #ffffff;
}

.page {
  width: min(700px, 100%);
  margin: 0 auto;
  padding-top: max(28px, env(safe-area-inset-top));
  padding-right: max(20px, env(safe-area-inset-right));
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: max(20px, env(safe-area-inset-left));
}

h1 {
  margin: 0;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.summary {
  margin: 8px 0 0;
  color: var(--muted);
}

h2 {
  margin: 0;
  font: inherit;
}

.issue {
  margin-top: 48px;
}

.issue-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  color: var(--ink);
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
  letter-spacing: -0.022em;
  text-align: left;
  cursor: pointer;
  user-select: none;
}

.date {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.chevron {
  flex: none;
  margin-top: 6px;
  color: var(--faint);
  transition: transform 160ms ease;
}

.issue-head[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .chevron {
    transition: none;
  }
}

.lead,
.note,
.topic-label,
.story {
  margin: 0;
}

.lead {
  margin-top: 16px;
}

.lane {
  margin-top: 28px;
}

.lane h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  letter-spacing: -0.018em;
}

.stories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 24px;
}

.topics {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 24px;
}

.topic-label {
  margin-bottom: 8px;
  font-weight: 600;
}

.story {
  overflow-wrap: break-word;
}

.title {
  font-weight: 600;
}

.note {
  margin-top: 20px;
}

.more {
  display: block;
  width: 100%;
  margin: 40px 0 24px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: -0.011em;
  color: var(--ink);
  text-align: right;
  cursor: pointer;
  user-select: none;
}

.status {
  margin: 48px 0 24px;
  color: var(--muted);
}

p {
  text-wrap: pretty;
}
