.app-state { max-width:45rem; margin:0 auto; padding:2rem 1rem; }
.app-placeholder { height:25rem; border-radius:1rem; background:rgba(140,150,170,.1); }
.app-state button { margin:1rem 0; padding:.6rem 1rem; border-radius:.5rem; cursor:pointer; }
.app-state a { display:block; }

.app-state {
  min-height: 100dvh;
  box-sizing: border-box;
  background: #fbfcff;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px #e3e5ea, 0 12px 40px rgba(25, 42, 81, .08);
}
:root.theme-dark .app-state {
  background: #1b222c;
  box-shadow: inset 0 0 0 1px #2e3036, 0 12px 40px rgba(0, 0, 0, .16);
}
@media (prefers-color-scheme: dark) {
  :root.theme-auto .app-state {
    background: #1e1f23;
    box-shadow: inset 0 0 0 1px #2e3036, 0 12px 40px rgba(0, 0, 0, .16);
  }
}

.app-skeleton {
	display: block;
	border-radius: .5rem;
	background: color-mix(in srgb, currentColor 7%, transparent);
}
.app-skeleton-title { width: min(72%, 22rem); height: 2rem; margin: 0 auto .75rem; }
.app-skeleton-copy { width: 82%; height: .85rem; margin: .55rem auto; }
.app-skeleton-copy-short { width: 56%; }
.app-skeleton-cover { width: 100%; aspect-ratio: 3 / 4; border-radius: .75rem; }
.app-skeleton-card-cover { width: 100%; aspect-ratio: 3 / 4; }
.app-skeleton-card-title { width: 76%; height: 1rem; margin-top: .75rem; }
.app-skeleton-back { width: 4.5rem; height: 2rem; border-radius: 999px; }
.app-skeleton-link-title { width: 10rem; height: 1.1rem; margin: 0 auto 1rem; }
.app-skeleton-link { width: 100%; height: 4rem; margin: .875rem 0; border-radius: 2rem; }
.app-skeleton-links { margin-top: 1.5rem; }
.app-skeleton-media { min-height: 16rem; }
.app-inline-error { margin: 1rem auto; color: #7d3b32; text-align: center; }
.app-inline-retry { margin-left: .5rem; padding: .35rem .7rem; border: 1px solid currentColor; border-radius: 999px; }
.app-loading-work { max-width: 580px; margin: 24px auto; padding: 1.5rem 28px 2.5rem; border: 1px solid var(--pp-border); border-radius: 24px; background: var(--pp-card); }
.app-loading-directory { max-width: 60rem; margin: 0 auto; padding: 1.5rem var(--spacing-m) 3rem; }
.app-skeleton-header { align-items: center; }
.app-skeleton-grid { margin-top: 1rem !important; }
@media (max-width: 34.375rem) {
	.app-loading-work { margin: 12px auto; padding: 1rem 16px 2rem; }
	.app-skeleton-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
