:root {
  color-scheme: dark;
  font-family: "Montserrat", Arial, sans-serif;
  background: #111;
  color: #ededed;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --panel: #171717;
  --border: #303030;
  --muted: #a7a7a7;
  --accent: #c4b5fd;
  --accent-strong: #6252b5;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background-color: #080b1a;
  background-image:
    linear-gradient(rgba(4, 8, 27, 0.42), rgba(4, 8, 27, 0.66)),
    url("stories/the-regressor-and-the-blind-saint/starfield-background.png");
  background-position: center, center 38%;
  background-size: cover;
  background-attachment: fixed;
}

body.light-theme {
  --panel: #fff;
  --border: #d7d7d7;
  --muted: #666;
  background-color: #f3f3f3;
  background-image: none;
  color: #222;
}

body.light-theme .site-header {
  border-color: #ddd;
  background: rgba(243, 243, 243, 0.96);
}

body.light-theme .main-nav a,
body.light-theme .brand-link,
body.light-theme .section-heading h2 {
  color: #292929;
}

body.light-theme .theme-toggle,
body.light-theme .site-search input,
body.light-theme .novel-button {
  border-color: #d0d0d0;
  background: #fff;
  color: #222;
}

body.light-theme .panel,
body.light-theme .share-panel {
  color: #222;
}

body.light-theme .chapter-text,
body.light-theme .comment-body {
  color: #292929;
}

body.light-theme input,
body.light-theme textarea,
body.light-theme select {
  border-color: #ccc;
  background: #fff;
  color: #222;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled,
select:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.page-shell {
  width: min(1160px, 100% - 40px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  min-height: 86px;
  align-items: center;
  gap: 24px;
  margin-bottom: 8px;
  border-bottom: 1px solid #292929;
  background: rgba(17, 17, 17, 0.96);
  backdrop-filter: blur(12px);
}

.banner {
  display: block;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border: 1px solid #51457e;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.brand {
  flex: 0 0 auto;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-link strong,
.brand-link small {
  display: block;
}

.brand-link strong {
  font-size: 0.95rem;
}

.brand-link small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.75rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.main-nav a {
  color: #c9c9c9;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.main-nav a:hover {
  color: #fff;
}

.theme-toggle {
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #555;
  border-radius: 6px;
  background: #1d1d1d;
  color: #ddd;
  font-size: 1.2rem;
}

.theme-toggle:hover {
  background: #2a2a2a;
}

.site-search {
  display: block;
  width: min(230px, 20vw);
  flex: 0 1 230px;
}

.site-search input {
  min-height: 42px;
  border-color: #303030;
  border-radius: 999px;
  background: #1d1d1d;
}

.login-link {
  min-height: 40px;
  padding: 9px 17px;
  border: 0;
  border-radius: 7px;
  background: #6252b5;
  white-space: nowrap;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 6px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.brand p {
  margin-bottom: 0;
  color: var(--muted);
}

main {
  padding-bottom: 28px;
}

.welcome-banner {
  margin: 8px 0 22px;
  padding: 14px 18px;
  border-radius: 2px;
  background: #d4f0dc;
  color: #202820;
}

.welcome-banner p {
  margin: 0;
  line-height: 1.65;
}

.share-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid #303030;
  border-radius: 10px;
  background: #141414;
  text-align: center;
}

.share-panel > p:first-child {
  width: 100%;
  margin: 0;
  color: var(--muted);
}

.share-panel .status {
  width: 100%;
  margin: 0;
}

.share-button {
  min-width: 170px;
}

.recommended-section {
  margin-bottom: 26px;
}

.section-heading {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #303030;
}

.section-heading h2 {
  margin-bottom: 5px;
  color: #ededed;
  font-size: 1.55rem;
  font-weight: 500;
}

.section-heading p {
  margin-bottom: 0;
  font-size: 0.85rem;
}

.recommended-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  align-items: start;
  gap: 20px;
}

.recommended-entry {
  min-width: 0;
}

.recommended-entry .novel-button {
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
}

.recommended-entry .novel-button:hover {
  background: transparent;
}

.panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.panel h2 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.account-panel {
  margin-bottom: 20px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.status,
.muted {
  color: var(--muted);
  line-height: 1.65;
}

.status:empty {
  display: none;
}

.status[data-kind="error"] {
  color: #ffb4b4;
}

.status[data-kind="success"] {
  color: #a8f0c6;
}

.account-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
}

label {
  display: grid;
  gap: 8px;
  color: #e6e1f6;
  font-size: 0.88rem;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(196, 181, 253, 0.28);
  border-radius: 8px;
  outline: none;
  background: rgba(5, 8, 23, 0.84);
  color: #fff;
}

input:focus,
textarea:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

textarea {
  resize: vertical;
  line-height: 1.6;
}

.account-actions {
  display: flex;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 1px solid var(--accent-strong);
  border-radius: 6px;
  background: var(--accent-strong);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: #7560c9;
}

.button-secondary,
.button-quiet {
  border-color: rgba(196, 181, 253, 0.4);
  background: transparent;
}

.button-google {
  border-color: #d5d9e2;
  background: #f7f8fa;
  color: #20242c;
}

.button-google:hover {
  background: #e6e9ef;
}

.button-secondary:hover,
.button-quiet:hover {
  background: rgba(196, 181, 253, 0.12);
}

.library-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 2fr);
  align-items: start;
  gap: 20px;
}

.library-panel {
  position: sticky;
  top: 18px;
}

.novel-list {
  display: grid;
  gap: 10px;
}

.novel-entry {
  display: grid;
  gap: 8px;
}

.novel-entry .novel-button {
  display: block;
  text-decoration: none;
}

.novel-button {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #1d1d1d;
  color: #fff;
  text-align: left;
}

.novel-button:hover,
.novel-button[aria-pressed="true"] {
  border-color: var(--accent);
  background: rgba(139, 117, 223, 0.2);
}

.novel-button strong,
.novel-button span {
  display: block;
}

.novel-button.uploaded-story {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 8px;
  text-decoration: none;
}

.save-story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.save-story-actions .button {
  min-height: 36px;
  padding: 7px 10px;
  font-size: 0.8rem;
}

.story-card-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

.story-card-cover {
  display: block;
  width: 100%;
  height: 258px;
  border-radius: 7px;
  object-fit: cover;
}

.novel-button span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.83rem;
}

.recommended-entry .story-card-copy {
  padding: 0 1px;
  color: #ededed;
}

.recommended-entry .story-card-copy strong {
  display: block;
  margin: 8px 0 5px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.recommended-entry .story-card-copy span {
  line-height: 1.45;
}

.recommended-entry .save-story-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.recommended-entry .save-story-actions .button {
  min-width: 0;
  padding: 7px;
  font-size: 0.72rem;
}

.recommended-entry .remove-story-save-button {
  grid-column: 1 / -1;
}

.reader-column {
  display: grid;
  gap: 20px;
}

.reader-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 22px;
}

.reader-toolbar label {
  flex: 0 0 auto;
}

.chapter-text {
  max-width: 72ch;
  margin: 0 auto;
  color: #f0edf7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.9;
}

.chapter-text h3 {
  margin-bottom: 1.5rem;
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.3rem;
  line-height: 1.4;
}

.chapter-text p {
  white-space: pre-wrap;
}

.progress-form,
.comment-form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.progress-form .button,
.comment-form .button {
  justify-self: start;
}

.comment-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.comment-card {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
}

.comment-body {
  margin: 0;
  color: #f0edf7;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.public-site-link {
  color: var(--accent);
  text-underline-offset: 3px;
}

.story-shell {
  max-width: 900px;
  padding-top: 28px;
  padding-bottom: 40px;
}

.story-shell header {
  margin: 32px 0 24px;
}

.story-cover {
  max-width: 300px;
  margin: 0 auto 28px;
}

.story-cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.story-navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.story-chapter[hidden] {
  display: none;
}

.story-chapter-status {
  margin: 18px 0 0;
}

.story-shell .chapter-text h2 {
  margin-bottom: 1.5rem;
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.3rem;
  line-height: 1.4;
}

.story-discussion-note {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.story-auth-form {
  display: grid;
  max-width: 640px;
  gap: 12px;
}

.comment-delete-button {
  min-height: 34px;
  margin-top: 12px;
  padding: 7px 10px;
  font-size: 0.8rem;
}

.profile-panel,
.leaderboard-panel {
  margin-bottom: 20px;
}

.profile-form {
  display: grid;
  max-width: 640px;
  gap: 10px;
}

.profile-form .button {
  justify-self: start;
}

.avatar-upload-preview {
  width: 92px;
  height: 92px;
  border: 1px solid var(--border);
  border-radius: 50%;
  object-fit: cover;
}

.profile-avatar {
  position: relative;
  display: inline-grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(196, 181, 253, 0.48);
  border-radius: 50%;
  background: linear-gradient(145deg, #413272, #171329);
  color: #fff;
  cursor: pointer;
}

.profile-avatar:hover {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(196, 181, 253, 0.38);
}

.profile-avatar-fallback {
  font-size: 1.15rem;
  font-weight: 700;
}

.profile-avatar-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leaderboard-avatar {
  width: 46px;
  height: 46px;
}

.comment-avatar {
  width: 36px;
  height: 36px;
}

.comment-identity {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.reader-profile-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 32px));
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #111329;
  color: #f7f4ff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
}

.reader-profile-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(3px);
}

.reader-profile-dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.reader-profile-dialog-heading h2 {
  margin: 0;
  font-size: 1rem;
}

.reader-profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 22px 0 14px;
}

.reader-profile-avatar {
  width: 84px;
  height: 84px;
  cursor: default;
}

.reader-profile-header h3 {
  display: inline-block;
  margin: 0;
}

.reader-profile-bio,
.reader-profile-registered,
.reader-profile-shelf {
  line-height: 1.6;
}

.reader-profile-registered {
  color: var(--muted);
  font-size: 0.85rem;
}

.reader-profile-dialog h3 {
  margin-top: 20px;
}

.reader-profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.profile-stat {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.profile-stat dt {
  color: var(--muted);
  font-size: 0.8rem;
}

.profile-stat dd {
  margin: 6px 0 0;
  font-size: 1.15rem;
  font-weight: 700;
}

body.light-theme .reader-profile-dialog {
  background: #fff;
  color: #222;
}

.leaderboard-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: reader-rank;
}

.leaderboard-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.leaderboard-card:has(.reader-rank-mythical)::after {
  position: absolute;
  z-index: -1;
  inset: -4px;
  border: 1px solid transparent;
  border-radius: 14px;
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.leaderboard-card:has(.reader-rank-mythical):hover {
  z-index: 1;
  border-color: rgba(255, 89, 109, 0.95);
  box-shadow:
    0 0 0 1px rgba(110, 0, 16, 0.9),
    0 0 14px rgba(245, 37, 65, 0.7),
    0 0 34px rgba(172, 0, 36, 0.55),
    inset 0 0 22px rgba(123, 0, 23, 0.22);
  transform: translateY(-2px);
}

.leaderboard-card:has(.reader-rank-mythical):hover::after {
  border-color: rgba(255, 62, 88, 0.72);
  box-shadow:
    0 0 12px 2px rgba(255, 44, 73, 0.8),
    0 0 30px 5px rgba(146, 0, 31, 0.45);
  opacity: 1;
  animation: mythical-card-aura 1.8s ease-in-out infinite alternate;
}

@keyframes mythical-card-aura {
  from {
    filter: brightness(0.82);
    transform: scale(0.997);
  }
  to {
    filter: brightness(1.22);
    transform: scale(1.008);
  }
}

.leaderboard-rank {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
}

.leaderboard-name {
  margin: 0;
  font-size: 1rem;
}

.reader-rank-name {
  color: #fff;
  transition: color 180ms ease, text-shadow 180ms ease, filter 180ms ease;
}

.reader-rank-mythical {
  animation: mythical-name-flow 2.4s ease-in-out infinite alternate;
}

.reader-rank-legendary {
  animation: legendary-name-flow 2.8s ease-in-out infinite alternate;
}

.reader-rank-otherwordly {
  color: #ffe8a3;
  text-shadow: 0 0 5px rgba(255, 203, 87, 0.45);
}

.reader-rank-mythical:hover,
.reader-rank-badge-mythical:hover,
.leaderboard-card:has(.reader-rank-mythical:hover) .reader-rank-badge-mythical,
.comment-card:has(.reader-rank-mythical:hover) .reader-rank-badge-mythical {
  filter: drop-shadow(0 0 5px #fa334e) drop-shadow(0 0 12px rgba(126, 3, 26, 0.9));
  text-shadow: 0 0 8px #ff7182, 0 0 18px #7e031a;
}

@keyframes mythical-name-flow {
  from {
    text-shadow: 1px 0 3px #ef3340, -1px 0 5px #160107;
  }
  to {
    text-shadow: -2px 0 5px #160107, 2px 0 8px #ff334e, 0 0 15px rgba(220, 20, 60, 0.55);
  }
}

@keyframes legendary-name-flow {
  from {
    text-shadow: -1px 0 3px rgba(168, 85, 247, 0.6);
  }
  to {
    text-shadow: 1px 0 7px #c084fc, 0 0 14px rgba(126, 34, 206, 0.8);
  }
}

.reader-rank-badge {
  display: inline-block;
  margin-left: 7px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.reader-rank-badge-mythical {
  border: 1px solid rgba(240, 50, 74, 0.6);
  color: #fff;
  background: linear-gradient(110deg, #190207, #aa162c, #210208);
  background-size: 200% 100%;
  animation: badge-flow 3s linear infinite;
}

.reader-rank-badge-legendary {
  border: 1px solid rgba(192, 132, 252, 0.7);
  color: #f1dcff;
  background: linear-gradient(110deg, #21083d, #7025a8, #2b0756);
  background-size: 200% 100%;
  animation: badge-flow 3s linear infinite;
}

.reader-rank-badge-otherwordly {
  border: 1px solid rgba(255, 218, 130, 0.8);
  color: #ffe8a3;
  background: rgba(121, 80, 0, 0.35);
}

@keyframes badge-flow {
  to {
    background-position: 200% 0;
  }
}

.leaderboard-bio,
.leaderboard-stats,
.leaderboard-saved {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
  .reader-rank-mythical,
  .reader-rank-legendary,
  .reader-rank-badge-mythical {
    animation: none;
  }
  .reader-rank-badge-legendary {
    animation: none;
  }
  .leaderboard-card,
  .leaderboard-card:has(.reader-rank-mythical):hover::after {
    animation: none;
    transition: none;
  }
}

footer {
  padding: 4px 0 28px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

[hidden] {
  display: none !important;
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 28px, 600px);
  }

  .account-form,
  .library-layout {
    grid-template-columns: 1fr;
  }

  .library-panel {
    position: static;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px 0;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .theme-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .login-link {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    order: initial;
  }

  .site-search {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    margin: 0;
  }

  .login-link {
    grid-column: 2;
    grid-row: 2;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-shell {
    width: min(100% - 20px, 600px);
  }

  main {
    padding-bottom: 16px;
  }

  .site-header {
    row-gap: 9px;
    margin-bottom: 4px;
  }

  .welcome-banner {
    margin: 4px 0 14px;
    padding: 12px 14px;
  }

  .share-panel {
    gap: 9px;
    margin-bottom: 14px;
    padding: 13px;
  }

  .recommended-section {
    margin-bottom: 16px;
  }

  .section-heading {
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  .panel {
    padding: 15px;
  }

  .account-panel,
  .profile-panel,
  .leaderboard-panel {
    margin-bottom: 14px;
  }

  .reader-column {
    gap: 14px;
  }

  .leaderboard-card {
    gap: 9px;
    padding: 12px;
  }

  .account-actions {
    flex-wrap: wrap;
  }

  .reader-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .brand-link {
    gap: 8px;
  }

  .banner {
    width: 46px;
    height: 46px;
  }

  .brand-link strong {
    max-width: 150px;
    font-size: 0.8rem;
  }

  .brand-link small {
    font-size: 0.68rem;
  }

  .main-nav a {
    font-size: 0.76rem;
  }

  .recommended-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
  }

  .story-card-cover {
    height: 215px;
  }
}
