:root {
  color-scheme: light;
  --canvas: oklch(0.96 0.006 80);
  --surface: oklch(0.985 0.004 80);
  --surface-raised: oklch(1 0 0);
  --surface-tint: oklch(0.93 0.015 55);
  --ink: oklch(0.25 0.018 48);
  --ink-soft: oklch(0.46 0.022 48);
  --line: oklch(0.79 0.014 55);
  --line-strong: oklch(0.61 0.025 52);
  --brand: oklch(0.5 0.155 45);
  --brand-strong: oklch(0.39 0.135 43);
  --brand-soft: oklch(0.9 0.055 52);
  --on-brand: oklch(0.985 0.006 75);
  --danger: oklch(0.48 0.18 27);
  --danger-strong: oklch(0.39 0.16 27);
  --danger-soft: oklch(0.93 0.04 27);
  --success: oklch(0.44 0.095 156);
  --focus: oklch(0.73 0.15 66);
  --shadow: 0 12px 28px oklch(0.22 0.025 45 / 0.16);
  --radius-control: 0.25rem;
  --radius-surface: 0.5rem;
  --space-1: 0.375rem;
  --space-2: 0.625rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.25rem;
  --space-6: 3.5rem;
  --z-skip: 40;
  --z-dialog: 30;
  --z-sticky: 10;
  background: var(--canvas);
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  background: var(--canvas);
}

body {
  min-height: 100dvh;
  margin: 0;
  background: var(--canvas);
}

button,
input {
  font: inherit;
}

button,
a,
input[type="checkbox"] {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: var(--z-skip);
  top: var(--space-2);
  left: var(--space-2);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-control);
  background: var(--ink);
  color: var(--surface);
  font-weight: 700;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(96rem, 100%);
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--canvas);
  border-inline: 1px solid var(--line);
}

.masthead,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) clamp(1rem, 4vw, 3.5rem);
}

.masthead {
  min-height: 4.5rem;
  background: var(--brand);
  color: var(--on-brand);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid oklch(1 0 0 / 0.46);
  border-radius: var(--radius-control);
  background: var(--brand-strong);
  font-size: 0.9rem;
}

.privacy-note {
  margin: 0;
  color: oklch(0.96 0.02 75);
  font-size: 0.82rem;
  line-height: 1.4;
}

main {
  min-height: calc(100dvh - 9rem);
}

.initial-view {
  display: grid;
  min-height: 66dvh;
  place-content: center;
  gap: var(--space-3);
  color: var(--ink-soft);
  text-align: center;
}

.initial-view p {
  margin: 0;
}

.loading-line {
  display: block;
  width: min(15rem, 64vw);
  height: 0.25rem;
  overflow: hidden;
  border-radius: var(--radius-control);
  background: var(--brand-soft);
}

.loading-line::after {
  display: block;
  width: 38%;
  height: 100%;
  background: var(--brand);
  content: "";
  animation: loading-line 1s ease-in-out infinite alternate;
}

.welcome {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
  min-height: calc(100dvh - 9rem);
}

.welcome-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3.5rem, 8vw, 8rem) clamp(1.25rem, 6vw, 6rem);
  background: var(--brand);
  color: var(--on-brand);
}

.eyebrow {
  margin: 0 0 var(--space-3);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.welcome-copy .eyebrow {
  color: oklch(0.91 0.05 72);
}

.welcome-copy h1 {
  max-width: 13ch;
  margin: 0 0 var(--space-4);
  font-size: clamp(2.75rem, 6vw, 5.75rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-wrap: balance;
}

.welcome-copy > p:not(.eyebrow) {
  max-width: 55ch;
  margin: 0 0 var(--space-5);
  color: oklch(0.94 0.025 70);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.welcome-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.welcome-actions small {
  max-width: 32ch;
  color: oklch(0.9 0.035 70);
  line-height: 1.45;
}

.welcome-steps {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.75rem, 6vw, 6rem);
  background: var(--surface);
}

.welcome-steps h2 {
  max-width: 18ch;
  margin: 0 0 var(--space-5);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-wrap: balance;
}

.step-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  counter-reset: steps;
}

.step-list li {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--line);
  counter-increment: steps;
}

.step-list li::before {
  color: var(--brand);
  content: "0" counter(steps);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.step-list strong,
.step-list span {
  display: block;
}

.step-list strong {
  font-size: 0.95rem;
}

.step-list span {
  margin-top: 0.3rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.setup-notice {
  flex-basis: 100%;
  max-width: 43rem;
  padding: var(--space-4);
  border: 1px solid var(--brand-strong);
  border-radius: var(--radius-surface);
  background: var(--brand-soft);
  color: var(--brand-strong);
  line-height: 1.55;
}

.setup-notice code {
  font-weight: 700;
}

.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  cursor: pointer;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button:active:not(:disabled) {
  transform: translateY(1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.button-primary {
  background: var(--surface);
  color: var(--brand-strong);
}

.button-primary:hover {
  background: var(--on-brand);
}

.button-quiet {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.button-quiet:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
}

.button-danger {
  background: var(--danger);
  color: white;
}

.button-danger:hover {
  background: var(--danger-strong);
}

.dashboard {
  min-height: calc(100dvh - 9rem);
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

.account-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: clamp(2.5rem, 7vw, 5.75rem);
}

.account {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: var(--space-3);
}

.avatar {
  width: 3.25rem;
  height: 3.25rem;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--brand-soft);
  object-fit: cover;
}

.avatar-placeholder {
  display: grid;
  place-items: center;
  color: var(--brand-strong);
  font-weight: 800;
}

.account-copy {
  min-width: 0;
}

.account-copy p,
.account-copy h1 {
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-copy p {
  margin-bottom: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.account-copy h1 {
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  letter-spacing: -0.035em;
}

.account-copy a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2rem;
}

.account-actions {
  display: flex;
  gap: var(--space-2);
}

.workspace-heading {
  max-width: 46rem;
  margin-bottom: var(--space-4);
}

.workspace-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.workspace-heading p:not(.eyebrow) {
  max-width: 48ch;
  margin: var(--space-3) 0 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.error-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin: 0 0 var(--space-4);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--danger);
  border-radius: var(--radius-surface);
  background: var(--danger-soft);
  color: var(--danger-strong);
}

.toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-block: 1px solid var(--line-strong);
}

.filters,
.selection-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: var(--space-2);
}

.filters {
  flex: 1;
}

.search-control {
  display: grid;
  gap: 0.3rem;
}

.search-control span,
.date-range span,
.date-range legend {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
}

.search-control input,
.date-range input {
  width: min(20rem, 42vw);
  min-height: 2.55rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--ink);
}

.search-control input::placeholder {
  color: var(--ink-soft);
  opacity: 1;
}

.date-range {
  display: grid;
  gap: 0.3rem;
  min-width: min(28rem, 100%);
  margin: 0;
  padding: 0;
  border: 0;
}

.date-range legend {
  margin-bottom: 0.3rem;
  padding: 0;
  line-height: 1.2;
}

.date-range-controls {
  display: flex;
  gap: var(--space-2);
}

.date-range-controls label {
  display: grid;
  flex: 1;
  gap: 0.3rem;
}

.date-range input {
  width: 100%;
}

.date-range small {
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.4;
}

.filter-button,
.text-button {
  min-height: 2.55rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-weight: 700;
}

.filter-button:hover,
.text-button:hover {
  color: var(--brand-strong);
}

.filter-button[aria-pressed="true"] {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--on-brand);
}

.filter-button:disabled,
.text-button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.inventory-status {
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) minmax(12rem, 1fr) auto;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--line-strong);
  background: var(--surface-tint);
}

.inventory-status strong,
.inventory-status span {
  display: block;
}

.inventory-status span {
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.inventory-status progress {
  width: 100%;
  height: 0.6rem;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-control);
  appearance: none;
  background: var(--brand-soft);
}

.inventory-status progress::-webkit-progress-bar {
  background: var(--brand-soft);
}

.inventory-status progress::-webkit-progress-value {
  background: var(--brand);
}

.inventory-status progress::-moz-progress-bar {
  background: var(--brand);
}

.repost-list {
  margin: 0;
  padding: 0;
  background: var(--surface);
  list-style: none;
}

.repost-row {
  display: grid;
  grid-template-columns: auto 3.5rem minmax(12rem, 1fr) auto minmax(8rem, auto);
  gap: var(--space-3);
  align-items: center;
  min-height: 5.25rem;
  padding: 0.85rem var(--space-3);
  border-bottom: 1px solid var(--line);
  content-visibility: auto;
  contain-intrinsic-size: auto 5.25rem;
  transition: background-color 140ms ease;
}

.repost-row:hover {
  background: var(--surface-tint);
}

.repost-row:has(input:checked) {
  background: var(--brand-soft);
}

.row-check {
  display: grid;
  min-width: 2.5rem;
  min-height: 2.5rem;
  place-items: center;
  cursor: pointer;
}

.row-check input {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--brand);
  cursor: pointer;
}

.artwork {
  display: grid;
  width: 3.5rem;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-control);
  background: var(--brand);
  color: var(--on-brand);
  font-size: 1.25rem;
  font-weight: 800;
}

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

.resource-copy {
  min-width: 0;
}

.resource-copy strong,
.resource-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-copy strong {
  margin-bottom: 0.28rem;
}

.resource-copy span {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.resource-kind {
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.resource-meta {
  min-width: 8rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.resource-link {
  color: var(--brand-strong);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2rem;
}

.resource-link:hover {
  color: var(--brand);
}

.empty-state {
  display: grid;
  min-height: 22rem;
  place-content: center;
  justify-items: start;
  padding: clamp(2rem, 7vw, 5rem);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
}

.empty-state h3 {
  max-width: 20ch;
  margin: 0 0 var(--space-2);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  letter-spacing: -0.04em;
}

.empty-state p {
  max-width: 44ch;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

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

.skeleton {
  border-radius: var(--radius-control);
  background: var(--surface-tint);
  animation: skeleton-pulse 900ms ease-in-out infinite alternate;
}

.skeleton-square {
  width: 3.5rem;
  aspect-ratio: 1;
}

.skeleton-copy {
  width: min(28rem, 60vw);
  height: 2.3rem;
}

.pagination-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 4.5rem;
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.pagination-area:empty {
  display: none;
}

.pagination-area p {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.pagination-area p span {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 400;
}

.pagination-area nav {
  display: flex;
  gap: var(--space-2);
}

.action-dock {
  position: sticky;
  z-index: var(--z-sticky);
  bottom: max(var(--space-3), env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: min(40rem, calc(100% - 2rem));
  margin: var(--space-4) auto 0;
  padding: 0.75rem 0.75rem 0.75rem var(--space-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-surface);
  background: var(--surface-raised);
  box-shadow: var(--shadow);
  animation: dock-enter 180ms ease-out;
}

.action-dock p {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
}

.action-dock span {
  display: block;
  margin-top: 0.15rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 400;
}

.removal-progress {
  display: grid;
  flex: 1;
  gap: var(--space-1);
  min-width: 10rem;
}

.removal-progress[hidden] {
  display: none;
}

.removal-progress span {
  margin: 0;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.removal-progress progress {
  width: 100%;
  height: 0.55rem;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-control);
  appearance: none;
  background: var(--danger-soft);
}

.removal-progress progress::-webkit-progress-bar {
  background: var(--danger-soft);
}

.removal-progress progress::-webkit-progress-value {
  background: var(--danger);
}

.removal-progress progress::-moz-progress-bar {
  background: var(--danger);
}

.confirm-dialog {
  z-index: var(--z-dialog);
  width: min(31rem, calc(100% - 2rem));
  max-height: min(38rem, calc(100dvh - 2rem));
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-surface);
  background: var(--surface-raised);
  color: var(--ink);
  box-shadow: var(--shadow);
  overscroll-behavior: contain;
}

.confirm-dialog::backdrop {
  background: oklch(0.16 0.025 42 / 0.72);
}

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

.confirm-dialog form {
  position: relative;
  padding: clamp(1.5rem, 5vw, 2.5rem);
}

.dialog-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  min-height: 2.5rem;
  padding: 0.4rem 0.65rem;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
}

.dialog-close:hover {
  background: var(--surface-tint);
  color: var(--ink);
}

.dialog-kicker {
  margin: 0 0 var(--space-4);
  color: var(--danger);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.confirm-dialog h2 {
  max-width: 18ch;
  margin: 0 0 var(--space-2);
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.confirm-dialog p:not(.dialog-kicker) {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
  text-wrap: pretty;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.toast-region {
  position: fixed;
  z-index: var(--z-dialog);
  right: max(var(--space-4), env(safe-area-inset-right));
  bottom: max(var(--space-4), env(safe-area-inset-bottom));
  display: grid;
  gap: var(--space-2);
}

.toast {
  max-width: min(24rem, calc(100vw - 2rem));
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-surface);
  background: var(--ink);
  color: var(--surface);
  box-shadow: var(--shadow);
  animation: toast-enter 170ms ease-out;
}

.site-footer {
  min-height: 4.5rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--brand-strong);
  font-weight: 700;
  text-underline-offset: 0.2rem;
}

[hidden] {
  display: none !important;
}

@keyframes loading-line {
  from {
    transform: translateX(-10%);
  }
  to {
    transform: translateX(175%);
  }
}

@keyframes skeleton-pulse {
  from {
    opacity: 0.45;
  }
  to {
    opacity: 1;
  }
}

@keyframes dock-enter {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }
}

@keyframes dialog-enter {
  from {
    opacity: 0;
    transform: translateY(0.4rem);
  }
}

@keyframes toast-enter {
  from {
    opacity: 0;
    transform: translateY(0.4rem);
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --canvas: oklch(0.2 0.012 48);
    --surface: oklch(0.235 0.014 48);
    --surface-raised: oklch(0.27 0.016 48);
    --surface-tint: oklch(0.3 0.03 48);
    --ink: oklch(0.94 0.012 70);
    --ink-soft: oklch(0.72 0.022 65);
    --line: oklch(0.36 0.018 52);
    --line-strong: oklch(0.49 0.025 52);
    --brand: oklch(0.64 0.17 48);
    --brand-strong: oklch(0.76 0.145 58);
    --brand-soft: oklch(0.35 0.075 45);
    --on-brand: oklch(0.16 0.018 42);
    --danger: oklch(0.66 0.19 28);
    --danger-strong: oklch(0.76 0.15 30);
    --danger-soft: oklch(0.31 0.075 27);
    --success: oklch(0.7 0.105 156);
    --focus: oklch(0.79 0.15 70);
    --shadow: 0 14px 32px oklch(0.08 0.012 45 / 0.45);
  }

  .masthead,
  .welcome-copy {
    --brand: oklch(0.46 0.145 44);
    --on-brand: oklch(0.97 0.012 70);
  }

  .button-danger {
    color: oklch(0.98 0.005 30);
  }
}

@media (max-width: 760px) {
  .privacy-note {
    display: none;
  }

  .welcome {
    grid-template-columns: 1fr;
  }

  .welcome-copy,
  .welcome-steps {
    padding: 3.75rem 1.25rem;
  }

  .welcome-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  .account-bar,
  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .account-bar {
    margin-bottom: var(--space-5);
  }

  .account-actions .button {
    flex: 1;
  }

  .search-control,
  .search-control input {
    width: 100%;
  }

  .date-range {
    width: 100%;
  }

  .date-range-controls {
    flex-direction: column;
  }

  .selection-tools {
    justify-content: space-between;
  }

  .inventory-status {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    padding-inline: var(--space-3);
  }

  .repost-row {
    grid-template-columns: auto 3.25rem minmax(0, 1fr);
    gap: var(--space-2);
    padding-inline: var(--space-2);
  }

  .artwork {
    width: 3.25rem;
  }

  .resource-kind {
    display: none;
  }

  .resource-meta {
    grid-column: 3;
    min-width: 0;
    text-align: left;
  }

  .action-dock {
    align-items: stretch;
    flex-direction: column;
    padding: var(--space-3);
  }

  .pagination-area {
    align-items: stretch;
    flex-direction: column;
  }

  .pagination-area nav .button {
    flex: 1;
  }

  .dialog-actions {
    flex-direction: column-reverse;
  }

  .dialog-actions .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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