:root {
  --ink: #0f1115;
  --panel: #181b21;
  --raised: #1f232b;
  --line: #262a34;
  --line-strong: #363b48;
  --fg: #e7e9ee;
  --muted: #8d93a1;
  --faint: #5d6372;
  --danger: #ff7f7f;
  --radius-row: 14px;
  --radius-poster: 6px;
  --badge: 104px;
  --poster-w: 84px;
  --gap: 8px;
  color-scheme: dark;
}

body {
  background: var(--ink);
  color: var(--fg);
  font-feature-settings: "cv11", "ss01", "ss03";
}

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: #ffbf7f55; }

kbd {
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 1px 6px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  color: var(--fg);
}

code {
  font-size: 0.85em;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--raised);
  color: var(--fg);
}

body:not([data-mode="edit"]) .edit-only { display: none !important; }
body[data-mode="share"] .hide-in-share { display: none !important; }
body:not([data-mode="share"]) .share-only { display: none !important; }

.wordmark {
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.create-form {
  display: flex;
  gap: 8px;
  margin-bottom: 2.5rem;
}

.list-index {
  border-top: 1px solid var(--line);
}

.list-row {
  display: grid;
  gap: 10px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color 120ms ease;
}

.list-row:hover { background: #ffffff05; }

.list-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.list-row-name {
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.list-row-count, .board-count {
  font-size: 0.8125rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.list-row-desc {
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 65ch;
}

.empty-note {
  padding: 2rem 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.legend { margin-top: 4rem; }

.legend-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1rem;
}

.legend-list { display: grid; gap: 2px; }

.legend-item {
  display: grid;
  grid-template-columns: minmax(0, 13rem) 1fr;
  gap: 4px 16px;
  align-items: baseline;
  padding: 8px 0;
}

.legend-item dt { display: flex; align-items: baseline; gap: 12px; }

.legend-letter {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--tier);
  color: var(--ink);
  font-weight: 900;
  font-size: 0.9375rem;
  flex: none;
  align-self: center;
}

.legend-label { font-weight: 600; }
.legend-item dd { color: var(--muted); font-size: 0.9375rem; }

@media (max-width: 560px) {
  .legend-item { grid-template-columns: 1fr; }
  .legend-item dd { padding-left: 40px; }
}

.dist {
  display: flex;
  gap: 2px;
  width: 100%;
  overflow: hidden;
  border-radius: 999px;
}

.dist-sm { height: 4px; }
.dist-md { height: 6px; }
.dist-lg { height: 6px; }

.dist-seg { min-width: 4px; }
.dist-empty { flex-grow: 1; background: var(--line); }

.field {
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--fg);
  font-size: 0.9375rem;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.field::placeholder { color: var(--faint); }

.field:focus {
  outline: none;
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px #ffffff14;
}

textarea.field { resize: vertical; line-height: 1.5; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 9px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.btn-primary { background: var(--fg); color: var(--ink); }
.btn-primary:hover { background: #ffffff; }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--fg);
  background: transparent;
}
.btn-ghost:hover { background: var(--raised); border-color: var(--line-strong); }

.btn-icon { width: 38px; padding: 0; }

.btn-danger { background: #ff7f7f1f; color: var(--danger); border: 1px solid #ff7f7f40; }
.btn-danger:hover { background: #ff7f7f33; }

.btn-danger-ghost { color: var(--muted); padding: 0 4px; }
.btn-danger-ghost:hover { color: var(--danger); }

.back-link {
  font-size: 0.875rem;
  color: var(--muted);
}
.back-link::before { content: "‹ "; }
.back-link:hover { color: var(--fg); }

.kbd-hint { font-size: 0.8125rem; color: var(--faint); }

.text-link { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--fg); }

.capture { background: var(--ink); }

.list-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.list-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  overflow-wrap: anywhere;
}

.list-desc {
  margin-top: 10px;
  color: var(--muted);
  max-width: 62ch;
}

.list-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.share-mark {
  font-weight: 900;
  letter-spacing: -0.05em;
  font-size: 1.25rem;
  color: var(--faint);
}

.board-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.tiers {
  border: 1px solid var(--line);
  border-radius: var(--radius-row);
  background: var(--panel);
  overflow: visible;
}

.tier-row {
  display: grid;
  grid-template-columns: var(--badge) minmax(0, 1fr);
  border-top: 1px solid var(--line);
}

.tier-row:first-child { border-top: 0; }

.tier-badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  min-height: calc(var(--poster-w) * 1.5 + 2 * var(--gap) + 4px);
  background: var(--tier);
  color: var(--ink);
  text-align: center;
  cursor: help;
  outline-offset: -3px;
}

.tier-row:first-child .tier-badge { border-top-left-radius: calc(var(--radius-row) - 1px); }
.tier-row:last-child .tier-badge { border-bottom-left-radius: calc(var(--radius-row) - 1px); }

.tier-letter {
  font-size: 3rem;
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.tier-label {
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0.72;
  max-width: 11ch;
  text-wrap: balance;
}

.tier-tip {
  position: absolute;
  z-index: 20;
  left: calc(100% + 10px);
  top: 50%;
  translate: 0 -50%;
  width: max-content;
  max-width: 260px;
  padding: 8px 11px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--raised);
  color: var(--fg);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  box-shadow: 0 10px 30px #00000066;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 120ms ease, visibility 120ms;
}

.tier-badge:hover .tier-tip,
.tier-badge:focus-visible .tier-tip { opacity: 1; visibility: visible; }

.tier-drop {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: var(--gap);
  padding: var(--gap);
  min-height: 100%;
  list-style: none;
}

body[data-mode="edit"] .tier-drop:not(:has(.card))::after {
  content: "Glisse une affiche ici";
  align-self: center;
  margin-left: 10px;
  font-size: 0.8125rem;
  color: var(--faint);
}

.card {
  position: relative;
  width: var(--poster-w);
  aspect-ratio: 2 / 3;
  flex: none;
  border-radius: var(--radius-poster);
}

.card-hit {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background: var(--raised);
  box-shadow: inset 0 0 0 1px #ffffff0f;
  cursor: grab;
  text-align: left;
}

body:not([data-mode="edit"]) .card-hit { cursor: default; }

.poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.poster-fallback {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  width: 100%;
  height: 100%;
  padding: 8px 7px;
  background:
    linear-gradient(180deg, transparent 30%, #00000059),
    repeating-linear-gradient(135deg, #ffffff06 0 2px, transparent 2px 7px),
    hsl(var(--hue, 220) 16% 17%);
  color: var(--fg);
}

.poster-fallback-title {
  font-size: 0.75rem;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  hyphens: auto;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.poster-fallback-year {
  font-size: 0.625rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.poster-fallback-lg .poster-fallback-title { font-size: 1.125rem; -webkit-line-clamp: 6; }
.poster-fallback-lg { padding: 14px; }
.poster-fallback-lg .poster-fallback-year { font-size: 0.8125rem; }

.media-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  padding: 2px 4px 1px;
  border-radius: 3px;
  background: #0f1115cc;
  color: #e7e9eecc;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  backdrop-filter: blur(4px);
}

.note-flag {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fg);
  box-shadow: 0 0 0 2px #0f1115b3;
}

.card-caption {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 2px;
  padding: 22px 7px 7px;
  background: linear-gradient(180deg, #0f111500, #0f1115fa 22px);
  opacity: 0;
  translate: 0 6px;
  transition: opacity 140ms ease, translate 140ms ease;
}

.card-hit:hover .card-caption,
.card-hit:focus-visible .card-caption { opacity: 1; translate: 0 0; }

.card-hit:hover .note-flag,
.card-hit:focus-visible .note-flag { opacity: 0; }

.card-title {
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
}

.card-year {
  font-size: 0.625rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.card-note {
  margin-top: 3px;
  font-size: 0.625rem;
  line-height: 1.3;
  color: #c9ccd4;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sortable-ghost .card-hit {
  opacity: 0.25;
  box-shadow: inset 0 0 0 2px var(--fg);
}

.sortable-drag .card-hit {
  box-shadow: 0 18px 40px #000000a6, inset 0 0 0 1px #ffffff26;
  rotate: -2deg;
}

.card.just-dropped .card-hit {
  animation: landed 700ms ease-out;
}

@keyframes landed {
  0% { box-shadow: inset 0 0 0 3px var(--landed, var(--fg)); }
  100% { box-shadow: inset 0 0 0 1px #ffffff0f; }
}

.dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: var(--fg);
  box-shadow: 0 30px 80px #000000b3;
}

.dialog-wide { width: min(680px, calc(100vw - 32px)); }

.dialog::backdrop {
  background: #07080acc;
  backdrop-filter: blur(3px);
}

.dialog[open] { animation: dialog-in 160ms ease-out; }

@keyframes dialog-in {
  from { opacity: 0; translate: 0 8px; }
  to { opacity: 1; translate: 0 0; }
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.dialog-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  min-width: 0;
  overflow-wrap: anywhere;
}

.dialog-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

.tabs {
  display: flex;
  gap: 4px;
  padding: 3px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--ink);
  border: 1px solid var(--line);
  width: fit-content;
}

.tab {
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

.tab[aria-selected="true"] { background: var(--raised); color: var(--fg); }

.search-box { position: relative; }

.spinner {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  border-top-color: var(--fg);
  animation: spin 700ms linear infinite;
}

.spinner.htmx-indicator { opacity: 0; transition: opacity 120ms; }
.htmx-request .spinner.htmx-indicator, .spinner.htmx-request { opacity: 1; }

@keyframes spin { to { rotate: 360deg; } }

.search-results {
  margin-top: 12px;
  max-height: min(56dvh, 520px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.hint { font-size: 0.875rem; color: var(--muted); padding: 8px 2px; line-height: 1.5; }
.hint-error { color: var(--danger); }

.result-list { display: grid; }

.result {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 4px;
  border-top: 1px solid var(--line);
}

.result-list li:first-child .result { border-top: 0; }

.result-thumb {
  width: 40px;
  aspect-ratio: 2 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: var(--raised);
}

.result-thumb img { width: 100%; height: 100%; object-fit: cover; }

.result-meta { display: grid; gap: 3px; min-width: 0; }

.result-title {
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.result-sub, .editor-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.media-tag {
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--fg);
}

.result-current {
  font-weight: 600;
  color: var(--tier);
}

.result-ranks { display: flex; gap: 3px; }

.rank-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--tier);
  background: transparent;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tier) 40%, transparent);
  transition: background-color 100ms ease, color 100ms ease;
}

.rank-btn:hover, .rank-btn.is-current {
  background: var(--tier);
  color: var(--ink);
}

@media (max-width: 600px) {
  .result { grid-template-columns: 40px minmax(0, 1fr); }
  .result-ranks { grid-column: 1 / -1; justify-content: space-between; }
  .rank-btn { flex: 1; height: 36px; }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}

.form-field { display: grid; gap: 6px; min-width: 0; }

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

.segmented {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--ink);
  min-height: 42px;
}

.segmented label { flex: 1; position: relative; }

.segmented input { position: absolute; opacity: 0; inset: 0; }

.segmented span {
  display: grid;
  place-items: center;
  height: 100%;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.segmented input:checked + span { background: var(--raised); color: var(--fg); }
.segmented input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: -2px; }

.rank-picker { display: flex; gap: 6px; flex-wrap: wrap; }

.rank-option { position: relative; flex: 1; min-width: 38px; }

.rank-option input { position: absolute; opacity: 0; inset: 0; margin: 0; }

.rank-option span[aria-hidden] {
  display: grid;
  place-items: center;
  height: 40px;
  border-radius: 8px;
  font-weight: 850;
  font-size: 0.9375rem;
  color: var(--tier);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tier) 35%, transparent);
  cursor: pointer;
  transition: background-color 100ms ease, color 100ms ease;
}

.rank-option:hover span[aria-hidden] { background: color-mix(in srgb, var(--tier) 14%, transparent); }
.rank-option input:checked + span { background: var(--tier); color: var(--ink); }
.rank-option input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }

.rank-desc { font-size: 0.8125rem; color: var(--muted); line-height: 1.45; }

.editor {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
}

.editor-poster {
  width: 132px;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--raised);
}

.editor-form { display: grid; gap: 16px; align-content: start; }

@media (max-width: 520px) {
  .editor { grid-template-columns: 1fr; }
  .editor-poster { width: 96px; }
}

.danger-zone {
  display: grid;
  gap: 12px;
  justify-items: start;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.share-exit {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  opacity: 0.55;
  transition: opacity 150ms ease;
}

.share-exit:hover, .share-exit:focus-visible { opacity: 1; color: var(--fg); }

body[data-mode="share"] .capture {
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--line);
}

body[data-mode="share"] .list-header { align-items: center; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  translate: -50% 12px;
  max-width: calc(100vw - 32px);
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--raised);
  color: var(--fg);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 16px 40px #00000080;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, translate 160ms ease;
}

.toast.is-visible { opacity: 1; translate: -50% 0; }
.toast.is-error { border-color: #ff7f7f66; color: var(--danger); }

@media (max-width: 640px) {
  :root {
    --badge: 64px;
    --poster-w: 62px;
    --gap: 6px;
  }

  .tier-letter { font-size: 2rem; }
  .tier-label { font-size: 0.5625rem; }
  .tier-tip { display: none; }
  .media-badge { font-size: 0.4375rem; }
  .list-actions { width: 100%; }
  .list-actions .btn-primary { flex: 1; }
  body[data-mode="share"] .capture { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

body[data-mode="share"] .note-flag { display: none; }

.settings-block {
  display: grid;
  gap: 12px;
  justify-items: start;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.btn[disabled] { opacity: 0.6; cursor: progress; }
.label-busy { display: none; }
.htmx-request .label-idle { display: none; }
.htmx-request .label-busy { display: inline; }

.form-optional { font-weight: 400; color: var(--faint); }
.season-field { display: none; }
.manual-form:has(input[name="media_type"][value="tv"]:checked) .season-field { display: grid; }

.seasons-toggle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.seasons-toggle:hover, .seasons-toggle[aria-expanded="true"] { color: var(--fg); }

.season-panel:not(:empty) {
  margin: 0 0 10px 52px;
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
}

.season-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.season-thumb {
  width: 28px;
  aspect-ratio: 2 / 3;
  border-radius: 3px;
  overflow: hidden;
  background: var(--raised);
}
.season-thumb img { width: 100%; height: 100%; object-fit: cover; }

.season-name { font-size: 0.875rem; font-weight: 600; }

.season-row .rank-btn { width: 26px; height: 26px; font-size: 0.75rem; }

@media (max-width: 600px) {
  .season-panel:not(:empty) { margin-left: 0; }
  .season-row { grid-template-columns: 28px minmax(0, 1fr); }
  .season-row .result-ranks { grid-column: 1 / -1; }
  .season-row .rank-btn { flex: 1; height: 32px; }
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.year-form { display: flex; gap: 8px; }
.year-input { width: 6.5rem; font-variant-numeric: tabular-nums; font-weight: 600; }

.list-row-year {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.list-row-body { display: grid; gap: 10px; min-width: 0; }

.year-figure {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.year-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.year-nav a, .year-nav span {
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.year-nav a { color: var(--muted); }
.year-nav a:hover { color: var(--fg); background: var(--raised); }
.year-nav span { color: var(--faint); }

.create-form .field { min-width: 0; }

.site-footer {
  margin-top: 4rem;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
}
