.stories-surface{max-width:36rem;margin-inline:auto}.story-pair{gap:.75rem;display:grid}.story-illustration{aspect-ratio:4/3}@media (width>=900px){.stories-surface{max-width:64rem}.story-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:1.5rem;display:grid}.story-pair[data-both=true]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.5rem}}.story-library{--story-gap:1rem;justify-content:center;gap:var(--story-gap);flex-wrap:wrap;display:flex}.story-card{flex-direction:column;flex:0 0 100%;min-width:0;display:flex}@media (width>=640px){.stories-surface[data-view=library]{max-width:48rem}.story-card{flex-basis:calc((100% - var(--story-gap)) / 2 - .01px)}}@media (width>=1100px){.stories-surface[data-view=library]{max-width:64rem}.story-card{flex-basis:calc((100% - 2 * var(--story-gap)) / 3 - .01px)}}.story-locked-haze{background:color-mix(in oklab, var(--background) 62%, transparent);border-radius:1.5rem;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.story-locked-badge{background:color-mix(in oklab, var(--card) 92%, transparent);width:3.25rem;height:3.25rem;color:var(--foreground);border:1px solid var(--border);box-shadow:0 2px 10px color-mix(in oklab, var(--foreground) 22%, transparent);border-radius:9999px;justify-content:center;align-items:center;display:flex}.story-card-body{display:contents}.story-library[data-spacing=tight]{--story-gap:.5rem}.story-library[data-spacing=wide]{--story-gap:1.75rem}.story-library[data-columns]{--story-cols:1}.story-library[data-columns] .story-card{--story-span:1;flex:0 0 min(100%, calc((100% - (var(--story-cols) - 1) * var(--story-gap)) / var(--story-cols) * var(--story-span) + (var(--story-span) - 1) * var(--story-gap) - .01px))}.story-library[data-columns] .story-card[data-size=smaller]{--story-span:.75}.story-library[data-columns] .story-card[data-featured=true]{border-color:var(--primary);border-width:2px}.story-featured-label{letter-spacing:.08em;text-transform:uppercase;color:var(--primary);margin-top:.75rem;font-size:.75rem;font-weight:700}.story-featured-label+h2{margin-top:.125rem}.story-library[data-card-size=small] .story-card h2{font-size:1.0625rem;line-height:1.35}.story-library[data-card-size=large] .story-card h2{font-size:1.4rem;line-height:1.3}.story-library[data-density=compact] .story-card{padding:.625rem}.story-library[data-density=compact] .story-card h2{margin-top:.5rem;font-size:1.0625rem;line-height:1.35}.story-library[data-density=compact] .story-card .story-featured-label{margin-top:.5rem}.story-library[data-density=spacious] .story-card{padding:1.5rem}.story-library[data-density=spacious] .story-card h2{margin-top:1rem}.stories-surface:has(>.story-library[data-card-size=small]){--story-size:.8}.stories-surface:has(>.story-library[data-card-size=large]){--story-size:1.2}@media (width>=640px){.story-library[data-columns]{--story-cols:2}.stories-surface[data-view=library]:has(>.story-library[data-columns]){max-width:calc(2 * 24rem * var(--story-size,1))}.story-library[data-columns] .story-card[data-size=larger]{--story-span:2}.story-library[data-columns] .story-card[data-featured=true]{--story-span:var(--story-cols);flex-direction:row;align-items:center;gap:1.25rem}.story-library[data-columns] .story-card[data-featured=true]>.story-card-art{flex:0 0 calc(50% - .625rem);min-width:0}.story-library[data-columns] .story-card[data-featured=true]>.story-card-body{flex-direction:column;flex:1 1 0;justify-content:center;align-self:stretch;min-width:0;display:flex}.story-library[data-columns] .story-card[data-featured=true]>.story-card-body>.mt-auto{margin-top:0}}@media (width>=1100px){.story-library[data-columns=auto],.story-library[data-columns="3"]{--story-cols:3}.story-library[data-columns="4"]{--story-cols:4}.stories-surface[data-view=library]:has(>.story-library[data-columns="2"]){max-width:calc(2 * 21.3334rem * var(--story-size,1))}:is(.stories-surface[data-view=library]:has(>.story-library[data-columns=auto]),.stories-surface[data-view=library]:has(>.story-library[data-columns="3"])){max-width:calc(3 * 21.3334rem * var(--story-size,1))}.stories-surface[data-view=library]:has(>.story-library[data-columns="4"]){max-width:calc(4 * 21.3334rem * var(--story-size,1))}}
