:root {
  --bg: #f4f2ec;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --muted: #5a5a5a;
  --accent: #0b5fff;
  --accent-soft: #eef3ff;
  --border: #ddd8ce;
  --radius: 10px;
  --font: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

a {
  color: var(--accent);
}

.wrap {
  width: min(920px, 92vw);
  margin-inline: auto;
}

.wrap-wide {
  width: min(1680px, 97vw);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header-compact {
  padding: 1.25rem 0 1rem;
  border-bottom: 1px solid var(--border);
  background: #ebe6da;
}

.site-header-compact h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
}

.lede-compact {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-header {
  padding: 2.5rem 0 1.75rem;
  border-bottom: 1px solid var(--border);
  background: #ebe6da;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.eyebrow a {
  text-decoration: none;
}

.eyebrow a:hover {
  text-decoration: underline;
}

.site-header h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 600;
}

.lede {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 40rem;
}

/* 2026 conference timeline */
.timeline-hub {
  border-top: 3px solid #2d6a4f;
  background: linear-gradient(180deg, #f4faf7 0%, var(--surface) 100%);
}

.timeline-hub .hub-section-head h2 {
  font-size: 1.5rem;
}

.timeline-hub .hub-section-meta {
  font-size: 1rem;
  line-height: 1.45;
}

.timeline-hub .timeline-note {
  font-size: 0.92rem;
  line-height: 1.45;
}

.timeline-rail-wrap {
  margin: 0.85rem 0 1.15rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
}

.timeline-rail {
  position: relative;
  min-width: 56rem;
  height: 9.25rem;
  margin: 0 0.5rem;
}

.timeline-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 3.35rem;
  height: 5px;
  border-radius: 2px;
  background: linear-gradient(90deg, #95d5b2 0%, #40916c 50%, #d8f3dc 100%);
}

.timeline-months {
  position: absolute;
  left: 0;
  right: 0;
  top: 4.35rem;
  height: 1.35rem;
}

.timeline-month {
  position: absolute;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.timeline-today {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: none;
}

.timeline-today-pin {
  display: block;
  width: 3px;
  height: 2.2rem;
  margin: 0;
  flex-shrink: 0;
  background: #c41e1e;
}

.timeline-today-label {
  display: inline-block;
  margin: 0 0 0.2rem;
  padding: 0 0.25rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c41e1e;
  line-height: 1.1;
  background: #f4faf7;
}

.timeline-markers {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
}

.timeline-marker {
  position: absolute;
  top: 0.35rem;
  transform: translateX(-50%);
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: center;
  min-width: 3.25rem;
}

.timeline-marker-dot {
  display: block;
  width: 14px;
  height: 14px;
  margin: 0 auto 0.4rem;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  background: #74c69d;
}

.timeline-marker--past .timeline-marker-dot {
  background: #40916c;
}

.timeline-marker--upcoming .timeline-marker-dot {
  background: #b7e4c7;
}

.timeline-marker--in_progress .timeline-marker-dot {
  background: #1b4332;
  box-shadow: 0 0 0 2px #95d5b2;
}

.timeline-marker--dblp .timeline-marker-dot {
  box-shadow: 0 0 0 2px #1b4332;
}

.timeline-marker-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: #1b4332;
  line-height: 1.2;
}

.timeline-marker:hover .timeline-marker-label,
.timeline-marker:focus-visible .timeline-marker-label {
  color: #2d6a4f;
  text-decoration: underline;
}

.timeline-events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 0.85rem;
}

.timeline-event {
  padding: 0.9rem 1rem;
  border: 1px solid #b7e4c7;
  border-radius: var(--radius);
  background: var(--surface);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.timeline-event--focus {
  border-color: #2d6a4f;
  box-shadow: 0 0 0 2px rgba(45, 106, 79, 0.25);
}

.timeline-event--past {
  opacity: 0.92;
}

.timeline-event-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.timeline-event-name {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
}

.timeline-event-name a {
  color: inherit;
  text-decoration: none;
}

.timeline-event-name a:hover {
  color: #2d6a4f;
}

.timeline-event-status {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.timeline-event-dates {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--muted);
}

.timeline-location::before {
  content: " · ";
}

.timeline-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.timeline-badge {
  font-family: var(--sans);
  font-size: 0.78rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.timeline-badge--dblp {
  background: #d8f3dc;
  color: #1b4332;
}

.timeline-badge--pending {
  background: #f1f3f5;
  color: var(--muted);
}

.timeline-papers {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
}

/* Today's top papers */
.broadcast-hub {
  border-top: 3px solid #1a4d8c;
  background: linear-gradient(180deg, #f0f6ff 0%, var(--surface) 100%);
}

.broadcast-head h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0;
  color: #1a3a6a;
  font-size: 1.15rem;
}

.broadcast-head .broadcast-live {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
  background: #c41e1e;
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
}

.broadcast-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0.85rem;
}

.broadcast-card {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.65rem 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid #c5d8f0;
  border-radius: var(--radius);
  background: var(--surface);
  align-items: start;
}

.broadcast-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #1a4d8c;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.broadcast-card-body {
  min-width: 0;
}

.broadcast-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  margin-bottom: 0.3rem;
}

.broadcast-date {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--muted);
}

.broadcast-title {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 600;
}

.broadcast-title a {
  color: inherit;
  text-decoration: none;
}

.broadcast-title a:hover {
  color: #1a4d8c;
}

.broadcast-authors {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.broadcast-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.35rem;
}

.broadcast-tag {
  font-family: var(--sans);
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: #e8f0fa;
  color: #1a4d8c;
}

.broadcast-area {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  background: #fff6ee;
  color: #8a3d1a;
  border: 1px solid #e8d4c4;
}

.broadcast-actions {
  margin-top: 0.65rem;
  display: flex;
  justify-content: flex-end;
}

.broadcast-more-btn {
  margin-top: 0;
}

.broadcast-note {
  margin-top: 0.6rem;
  margin-bottom: 0;
  font-size: 0.78rem;
}

.broadcast-utc {
  font-family: var(--sans);
  font-size: 0.85em;
  color: var(--muted);
  font-weight: 500;
}

.top-picks-mode-btn:focus-visible,
.top-year-btn:focus-visible,
.broadcast-more-btn:focus-visible,
.top-more-btn:focus-visible,
.timeline-marker:focus-visible,
.hub-search input:focus-visible,
.latest-card:focus-visible,
.year-pill:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

  html:focus-within {
    scroll-behavior: auto;
  }
}

/* Top picks (monthly arXiv + areas mixed) */
.top-hub {
  border-top: 3px solid #c45c26;
  background: linear-gradient(180deg, #fffaf5 0%, var(--surface) 100%);
}

.top-picks-head .hub-section-head > div {
  width: 100%;
}

.top-picks-mode {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0 0.35rem;
}

.top-picks-mode-btn {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}

.top-picks-mode-btn:hover:not(:disabled) {
  border-color: #c45c26;
  color: #8a3d1a;
}

.top-picks-mode-btn.is-active {
  background: #fff0e6;
  border-color: #c45c26;
  color: #8a3d1a;
}

.top-picks-mode-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.top-hub--arxiv {
  border-top-color: #2a6b9e;
  background: linear-gradient(180deg, #f8fbfd 0%, var(--surface) 100%);
}

.top-hub--published {
  border-top-color: #3d7a2e;
  background: linear-gradient(180deg, #f6fbf4 0%, var(--surface) 100%);
}

.top-hub--arxiv .top-picks-mode-btn.is-active {
  background: #e8f2fa;
  border-color: #2a6b9e;
  color: #1a4d6e;
}

.top-hub--published .top-picks-mode-btn.is-active {
  background: #e8f5e0;
  border-color: #3d7a2e;
  color: #2d5a1e;
}

.top-pick--published {
  border-color: #b8d4a8;
  background: #f8fcf5;
}

.top-pick-aside--published .top-score--published {
  background: #e8f5e0;
  color: #2d5a1e;
  border-color: #b8d4a8;
}

.top-score-breakdown {
  font-family: var(--sans);
  font-size: 0.62rem;
  color: var(--muted);
  white-space: nowrap;
}

.top-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.25rem;
  margin-top: 0.75rem;
}

@media (min-width: 1280px) {
  .top-categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.top-category-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0.85rem 1rem 1rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.top-category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.top-category-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #8a3d1a;
}

.top-categories-dense .top-category-count {
  font-size: 0.75rem;
}

.top-category-count {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
}

.top-more-btn {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.35rem 0.5rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: #8a3d1a;
  background: #fff6ee;
  border: 1px solid #e8d4c4;
  border-radius: 6px;
  cursor: pointer;
}

.top-more-btn:hover {
  background: #ffefe0;
  border-color: #c45c26;
}

a.top-more-link {
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}

.area-picks-page {
  padding-bottom: 3rem;
}

.area-picks-toolbar {
  margin-bottom: 1rem;
}

.area-picks-list-full {
  list-style: none;
  padding: 0;
  margin: 0;
}

.top-year-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.top-year-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  margin-right: 0.15rem;
}

.top-year-btn {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #e8d4c4;
  background: #fff;
  color: #8a3d1a;
  cursor: pointer;
}

.top-year-btn:hover {
  border-color: #c45c26;
  background: #fff6ee;
}

.top-year-btn.is-active {
  background: #c45c26;
  border-color: #c45c26;
  color: #fff;
}

.top-picks-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  border: 1px solid #e8d4c4;
  border-radius: 8px;
  overflow: hidden;
  background: #fffcfa;
}

.top-pick {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  gap: 0.65rem 0.85rem;
  padding: 0.7rem 0.8rem;
  border: 0;
  border-bottom: 1px solid #efe4d8;
  border-radius: 0;
  background: transparent;
  align-items: start;
}

.top-pick:last-child {
  border-bottom: 0;
}

.top-pick-rich .top-rank {
  width: 2rem;
  height: 2rem;
  font-size: 0.82rem;
}

.top-pick-main {
  min-width: 0;
}

.top-pick-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  padding-top: 0.1rem;
}

.top-score {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.3rem 0.45rem;
  border-radius: 6px;
  background: #fff0e6;
  color: #8a3d1a;
  border: 1px solid #e8d4c4;
  white-space: nowrap;
}

.top-score-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.top-feed {
  font-family: var(--sans);
  font-size: 0.68rem;
  color: #1a3a8a;
  background: #eef3ff;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
}

.top-why {
  margin: 0.35rem 0 0;
  font-size: 0.76rem;
  line-height: 1.4;
  color: #6a5a4a;
}

.top-why-label {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a3d1a;
  margin-right: 0.35rem;
}

.top-pick-rich .top-title {
  font-size: 0.95rem;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

.top-pick-rich .top-authors {
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
  line-height: 1.35;
}

.top-pick-rich .top-tags {
  margin-bottom: 0.25rem;
}

.top-pick-rich .top-pick-head {
  margin-bottom: 0.2rem;
}

.top-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #c45c26;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.top-pick-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.25rem;
}

.badge-arxiv {
  background: #eef3ff;
  color: #1a3a8a;
}

.badge-conference {
  background: #edf7ed;
  color: #1a5c2e;
}

.badge {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.top-date {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
}

.top-date-conf {
  font-style: italic;
}

.top-title {
  margin: 0 0 0.2rem;
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 600;
}

.top-title a {
  color: inherit;
  text-decoration: none;
}

.top-title a:hover {
  color: var(--accent);
}

.top-authors {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.top-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.35rem;
}

.tag {
  font-family: var(--sans);
  font-size: 0.68rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: #f0ebe3;
  color: #5a4a3a;
}

.top-links {
  margin: 0;
}

.top-note {
  margin-top: 0.85rem;
  margin-bottom: 0;
}

/* Hub homepage */
.hub-main {
  padding: 1.5rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hub-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.conf-hub {
  border-top: 3px solid #1a3a8a;
}

.arxiv-hub {
  border-top: 3px solid #6b5b4a;
}

.hub-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hub-section-head-split {
  align-items: center;
}

.hub-section-head h2 {
  margin: 0 0 0.2rem;
  font-size: 1.35rem;
  font-weight: 600;
}

.hub-section-meta {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
}

.hub-search {
  flex: 1 1 220px;
  max-width: 360px;
  margin: 0;
}

.hub-search-narrow {
  max-width: 280px;
}

.hub-search input {
  width: 100%;
  font: 0.95rem var(--sans);
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}

.block-label {
  margin: 0 0 0.75rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.latest-block {
  margin-bottom: 1.75rem;
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.65rem;
}

.latest-card {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  background: #faf9f6;
  font-family: var(--sans);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.latest-card:hover {
  border-color: #9eb8f0;
  box-shadow: 0 2px 8px rgba(11, 95, 255, 0.08);
}

.latest-venue {
  font-size: 1rem;
  font-weight: 700;
  color: #1a3a8a;
}

.latest-year {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
}

.latest-count {
  font-size: 0.78rem;
  color: var(--muted);
}

.latest-cta {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--accent);
}

.venue-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.venue-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  background: #faf9f6;
}

.venue-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.venue-name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a3a8a;
}

.venue-full {
  margin: 0.2rem 0 0;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.35;
}

.venue-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--muted);
}

.venue-stats span {
  white-space: nowrap;
}

.year-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.year-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 3.25rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  font-family: var(--sans);
  line-height: 1.2;
  transition: background 0.12s, border-color 0.12s;
}

.year-pill:hover {
  background: var(--accent-soft);
  border-color: #9eb8f0;
}

.year-pill-year {
  font-size: 0.85rem;
  font-weight: 600;
}

.year-pill-count {
  font-size: 0.65rem;
  color: var(--muted);
}

.panel-note {
  margin: -0.5rem 0 0.75rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
}

.result-count {
  margin: 0 0 0.65rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--muted);
}

/* arXiv list */
.arxiv-paper-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.65rem;
}

.arxiv-card-compact {
  padding: 0.85rem 1rem;
}

.arxiv-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  font-family: var(--sans);
  font-size: 0.72rem;
}

.badge {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1a3a8a;
  background: var(--accent-soft);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.arxiv-date {
  color: var(--muted);
}

.arxiv-title {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 600;
}

.arxiv-title a {
  color: inherit;
  text-decoration: none;
}

.arxiv-title a:hover {
  color: var(--accent);
}

.authors-compact {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.arxiv-card-compact .abstract-snippet {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

.meta-compact {
  font-family: var(--sans);
  font-size: 0.78rem;
  display: flex;
  gap: 0.75rem;
}

.meta-compact a {
  text-decoration: none;
}

.meta-compact a:hover {
  text-decoration: underline;
}

.paper-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.empty-compact,
.empty {
  padding: 1rem;
  text-align: center;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.9rem;
}

.site-footer {
  padding: 1rem 0 1.75rem;
  border-top: 1px solid var(--border);
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

/* Conference detail page */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.stats div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
}

.stats dt {
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0;
}

.stats dd {
  margin: 0.2rem 0 0;
  font-size: 1.35rem;
  font-weight: 600;
}

.conf-page .toolbar-sticky {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  padding: 0.75rem 0 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0 0.75rem;
}

.search input {
  width: 100%;
  font: 1rem var(--sans);
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.conf-page .search {
  flex: 1;
  min-width: min(100%, 280px);
}

.paper-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 3rem;
}

.paper-list-dense {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.paper-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1.25rem;
  align-items: start;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
}

.paper-row:last-child {
  border-bottom: none;
}

.paper-row-skeleton {
  pointer-events: none;
}

.paper-row-skeleton .skeleton-line {
  height: 0.75rem;
  border-radius: 4px;
  background: linear-gradient(90deg, #ece8e0 0%, #f5f2ec 50%, #ece8e0 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

.paper-row-skeleton .skeleton-title {
  width: 72%;
  height: 0.9rem;
  margin-bottom: 0.45rem;
}

.paper-row-skeleton .skeleton-authors {
  width: 48%;
}

.paper-row-skeleton .skeleton-meta {
  width: 4rem;
  justify-self: end;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .paper-row-skeleton .skeleton-line {
    animation: none;
    background: #ece8e0;
  }
}

.paper-row:hover {
  background: #faf9f6;
}

.paper-row-title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 600;
}

.paper-row-title a {
  color: inherit;
  text-decoration: none;
}

.paper-row-title a:hover {
  color: var(--accent);
}

.paper-row-authors {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

.paper-row-meta {
  flex-shrink: 0;
  text-align: right;
  font-family: var(--sans);
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  min-width: 5rem;
}

.paper-row-meta a {
  text-decoration: none;
  white-space: nowrap;
}

.paper-row-meta a:hover {
  text-decoration: underline;
}

.paper-pages {
  color: var(--muted);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-family: var(--sans);
  font-size: 0.8rem;
}

@media (max-width: 960px) {
  .top-categories {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .top-pick {
    grid-template-columns: 1.75rem 1fr;
  }

  .top-pick-aside {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    padding-top: 0;
  }

  .paper-row {
    grid-template-columns: 1fr;
  }

  .paper-row-meta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    text-align: left;
  }

  .latest-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .arxiv-paper-list {
    grid-template-columns: 1fr;
  }

  .hub-section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .hub-search {
    max-width: none;
  }
}
