:root {
  --rf-paper: #fffaf6;
  --rf-surface: #ffffff;
  --rf-ink: #2c263b;
  --rf-muted: #716a78;
  --rf-line: #e7ddd8;
  --rf-berry: #a73756;
  --rf-berry-dark: #84263f;
  --rf-gold: #eeb64d;
  --rf-sage: #4b8b7b;
  --rf-cobalt: #5365bc;
  --rf-aubergine: #3b3056;
  --rf-lavender: #f3edf8;
  --rf-blush: #fae8ec;
  --rf-mint: #e6f1ed;
  --rf-radius: 6px;
  --rf-shadow: 0 15px 38px rgb(54 38 56 / 12%);
  --rf-content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--rf-ink); background: var(--rf-paper); font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.6; letter-spacing: 0; }
body.admin-bar .rf-site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .16em; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--rf-gold); outline-offset: 3px; }
.rf-site { min-height: 100vh; background: var(--rf-paper); }
.rf-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.rf-skip-link { position: fixed; top: 8px; left: 8px; z-index: 100000; padding: 10px 14px; color: #fff; background: var(--rf-aubergine); transform: translateY(-150%); }
.rf-skip-link:focus { transform: translateY(0); }

.rf-announcement { display: flex; justify-content: center; align-items: center; gap: 9px; min-height: 34px; padding: 6px 20px; color: #fffaf6; background: var(--rf-berry); }
.rf-site-header { position: sticky; top: 0; z-index: 100; display: grid; grid-template-columns: minmax(245px,1fr) auto minmax(220px,1fr); align-items: center; gap: 28px; min-height: 82px; padding: 0 max(24px, calc((100vw - var(--rf-content)) / 2)); background: rgb(255 250 246 / 96%); border-bottom: 1px solid var(--rf-line); box-shadow: 0 12px 32px rgb(63 42 58 / 5%); backdrop-filter: blur(16px); }
.rf-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; justify-self: start; color: inherit; text-decoration: none; }
.rf-brand__mark { position: relative; display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; color: #fffaf2; background: linear-gradient(145deg,#3d284b 4%,#702c4b 57%,#a73756); border: 1px solid rgb(255 255 255 / 18%); border-radius: 13px; box-shadow: 0 9px 22px rgb(71 35 59 / 22%),inset 0 1px 0 rgb(255 255 255 / 17%); overflow: hidden; isolation: isolate; transition: box-shadow .35s ease,transform .35s cubic-bezier(.2,.75,.2,1); }
.rf-brand__mark::after { content: ""; position: absolute; z-index: -1; inset: -45% 52% -45% -35%; background: rgb(255 255 255 / 13%); transform: rotate(18deg) translateX(-80%); transition: transform .55s cubic-bezier(.2,.75,.2,1); }
.rf-brand__mark svg { width: 39px; height: 39px; overflow: visible; }
.rf-brand__page { stroke-linejoin: round; transition: transform .4s cubic-bezier(.2,.75,.2,1); transform-origin: 32px 50px; }
.rf-brand__page--left { fill: #fffaf2; }
.rf-brand__page--right { fill: #eeb64d; }
.rf-brand__spine { fill: none; stroke: rgb(73 39 58 / 38%); stroke-width: 1.7; stroke-linecap: round; }
.rf-brand__redo { fill: none; stroke: #fffaf2; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rf-brand__spark { fill: #eeb64d; }
.rf-brand__copy { display: grid; min-width: 0; gap: 4px; }
.rf-brand__word { display: flex; align-items: baseline; color: #352d38; font-family: Georgia,serif; font-size: 23px; font-weight: 700; line-height: .9; white-space: nowrap; }
.rf-brand__word strong { color: var(--rf-berry); font: inherit; }
.rf-brand__copy small { color: #786d78; font-size: 9px; font-weight: 800; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.rf-brand:hover .rf-brand__mark { box-shadow: 0 13px 28px rgb(71 35 59 / 27%),0 0 0 3px rgb(238 182 77 / 16%),inset 0 1px 0 rgb(255 255 255 / 17%); transform: translateY(-2px); }
.rf-brand:hover .rf-brand__mark::after { transform: rotate(18deg) translateX(230%); }
.rf-brand:hover .rf-brand__page--left { transform: rotate(-3deg); }
.rf-brand:hover .rf-brand__page--right { transform: rotate(3deg); }
.rf-primary-nav { align-self: stretch; }
.rf-primary-nav ul, .rf-site-footer ul { display: flex; align-items: stretch; height: 100%; gap: 30px; margin: 0; padding: 0; list-style: none; }
.rf-primary-nav li { display: flex; }
.rf-primary-nav a { position: relative; display: grid; place-items: center; color: #575064; text-decoration: none; }
.rf-primary-nav a:hover, .rf-primary-nav .current-menu-item > a { color: var(--rf-berry); }
.rf-primary-nav .current-menu-item > a::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--rf-gold); }
.rf-header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 9px; }
.rf-icon-button { display: inline-grid; place-items: center; width: 44px; min-width: 44px; height: 44px; padding: 0; color: inherit; background: transparent; border: 1px solid #ded3cf; border-radius: var(--rf-radius); cursor: pointer; }
.rf-icon-button:hover { background: #f5ece8; }
.rf-account-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 15px; color: #fff; background: var(--rf-cobalt); border-radius: var(--rf-radius); text-decoration: none; }
.rf-account-action:hover { background: #4052a7; }
.rf-account-unavailable { color: var(--rf-muted); font-size: 14px; }
.redofanfics-home-page .rf-site-header { color: #fff; background: rgb(23 19 31 / 92%); border-color: rgb(255 255 255 / 10%); }
.redofanfics-home-page .rf-brand__word { color: #fffaf6; }
.redofanfics-home-page .rf-brand__word strong { color: #ffd273; }
.redofanfics-home-page .rf-brand__copy small { color: #c9bdcd; }
.redofanfics-home-page .rf-primary-nav a { color: #ddd3e2; }
.redofanfics-home-page .rf-primary-nav a:hover { color: #ffd273; }
.redofanfics-home-page .rf-icon-button { border-color: rgb(255 255 255 / 20%); }
.redofanfics-home-page .rf-icon-button:hover { background: rgb(255 255 255 / 9%); }
.rf-patreon-unavailable { padding: 12px; color: #fff; border: 1px solid #a99bb6; }
.rf-menu-toggle { display: none; }
.rf-search-panel { position: absolute; inset: 76px 0 auto; padding: 22px max(24px, calc((100vw - 760px) / 2)); background: var(--rf-surface); border-bottom: 1px solid var(--rf-line); box-shadow: var(--rf-shadow); }
.rf-search-form > label { display: block; margin-bottom: 7px; font-weight: 700; }
.rf-search-form > div { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.rf-search-form input { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid #cfc3c0; border-radius: var(--rf-radius); }
.rf-search-form button { display: inline-flex; align-items: center; gap: 7px; min-height: 46px; padding: 0 18px; color: #fff; background: var(--rf-berry); border: 0; border-radius: var(--rf-radius); cursor: pointer; }

.rf-kicker { margin: 0 0 10px; color: var(--rf-berry); font-size: 13px; font-weight: 700; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, serif; font-weight: 700; line-height: 1.14; letter-spacing: 0; }
.rf-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--rf-radius); text-decoration: none; cursor: pointer; }
.rf-button--gold { color: #332b2d; background: var(--rf-gold); }
.rf-button--berry { color: #fff; background: var(--rf-berry); }
.rf-button--berry:hover { background: var(--rf-berry-dark); }
.rf-button--outline { color: #fff; background: rgb(38 25 47 / 56%); border-color: rgb(255 255 255 / 54%); }

.rf-button--glass { color: #fff; background: rgb(255 255 255 / 9%); border-color: rgb(255 255 255 / 30%); backdrop-filter: blur(10px); }
.rf-button--glass:hover { background: rgb(255 255 255 / 17%); }
.rf-spotlight { --rf-spotlight-image: none; position: relative; min-height: 650px; color: #fff; background: #17131f; isolation: isolate; overflow: hidden; }
.rf-spotlight__wash { position: absolute; z-index: -2; inset: -45px; background-image: linear-gradient(90deg,#17131f 2%,rgb(23 19 31 / 92%) 36%,rgb(23 19 31 / 48%) 72%,#17131f 100%),var(--rf-spotlight-image); background-size: cover; background-position: center 32%; filter: blur(16px) saturate(.78); transform: scale(1.08); }
.rf-spotlight__wash::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,#17131f 0,rgb(23 19 31 / 8%) 55%),linear-gradient(90deg,rgb(167 55 86 / 18%),transparent 42%,rgb(83 101 188 / 12%)); }
.rf-spotlight::after { content: ""; position: absolute; inset: auto 0 0; height: 6px; background: linear-gradient(90deg,var(--rf-berry) 0 26%,var(--rf-gold) 26% 49%,var(--rf-sage) 49% 73%,var(--rf-cobalt) 73%); }
.rf-spotlight__inner { display: grid; grid-template-columns: minmax(250px,320px) minmax(0,720px); align-items: center; gap: clamp(48px,7vw,104px); width: min(calc(100% - 48px),var(--rf-content)); min-height: 650px; margin: 0 auto; padding: 66px 0 76px; }
.rf-spotlight--no-cover .rf-spotlight__inner { grid-template-columns: minmax(0,760px); }
.rf-spotlight__cover { position: relative; display: block; aspect-ratio: 3 / 4; border: 1px solid rgb(255 255 255 / 22%); box-shadow: -24px 26px 70px rgb(0 0 0 / 45%),12px 10px 0 rgb(238 182 77 / 16%); text-decoration: none; transform: perspective(900px) rotateY(5deg); transform-origin: center right; transition: transform .45s cubic-bezier(.2,.75,.2,1),box-shadow .45s ease; }
.rf-spotlight__cover::after { content: ""; position: absolute; inset: 0; box-shadow: inset 11px 0 22px rgb(255 255 255 / 8%),inset -4px 0 12px rgb(0 0 0 / 18%); pointer-events: none; }
.rf-spotlight__cover:hover { box-shadow: -30px 32px 80px rgb(0 0 0 / 55%),15px 13px 0 rgb(238 182 77 / 21%); transform: perspective(900px) rotateY(0) translateY(-6px); }
.rf-spotlight__cover img { width: 100%; height: 100%; object-fit: cover; }
.rf-spotlight__cover > span { position: absolute; z-index: 1; inset: 16px auto auto -10px; padding: 7px 13px; color: #33252b; background: var(--rf-gold); box-shadow: 5px 6px 0 var(--rf-berry); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.rf-spotlight__copy { max-width: 700px; }
.rf-spotlight .rf-kicker { color: #ffd273; }
.rf-spotlight h1 { margin: 0 0 20px; font-size: clamp(48px,6.2vw,82px); text-wrap: balance; }
.rf-spotlight__hook { max-width: 650px; margin: 0; color: #eee6f2; font-family: Georgia,serif; font-size: 21px; }
.rf-meta-line { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: 24px; color: #d7cddd; }
.rf-meta-line span { display: inline-flex; align-items: center; }
.rf-meta-line span:not(:last-child)::after { content: ""; width: 4px; height: 4px; margin: 0 14px; background: var(--rf-gold); border-radius: 50%; }
.rf-spotlight__actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 32px; }
.rf-newest-ribbon { position: relative; z-index: 2; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 18px; width: min(calc(100% - 48px),1080px); margin: -33px auto 0; padding: 18px 24px; color: var(--rf-ink); background: rgb(255 255 255 / 96%); border-left: 6px solid var(--rf-sage); box-shadow: 0 24px 55px rgb(43 30 48 / 18%); text-decoration: none; backdrop-filter: blur(12px); transition: transform .25s ease,box-shadow .25s ease; }
.rf-newest-ribbon:hover { box-shadow: 0 28px 65px rgb(43 30 48 / 23%); transform: translateY(-3px); }
.rf-newest-ribbon > span:first-child { color: var(--rf-berry); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.rf-newest-ribbon strong, .rf-newest-ribbon small { display: block; }
.rf-newest-ribbon strong { font-family: Georgia, serif; font-size: 18px; }
.rf-newest-ribbon small { color: var(--rf-muted); }
.rf-newest-ribbon b, .rf-section-head > a { display: inline-flex; align-items: center; gap: 7px; color: var(--rf-cobalt); white-space: nowrap; }
.rf-empty-home { min-height: 430px; display: grid; place-content: center; text-align: center; padding: 60px 24px; background: var(--rf-lavender); }
.rf-empty-home h1 { margin: 0; font-size: 52px; }

.rf-library-band { position: relative; padding: 100px max(24px,calc((100vw - var(--rf-content)) / 2)) 94px; background: linear-gradient(180deg,#fffaf6,#f9f1f1); overflow: hidden; }
.rf-library-band::after { content: "REDO"; position: absolute; z-index: 0; right: -18px; top: 70px; color: rgb(167 55 86 / 4%); font-family: Georgia,serif; font-size: 180px; font-weight: 700; line-height: 1; pointer-events: none; }
.rf-library-band > * { position: relative; z-index: 1; }
.rf-section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 29px; }
.rf-section-head--library { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; }
.rf-section-head h2 { margin: 0 0 8px; font-size: 38px; }
.rf-section-head p:not(.rf-kicker) { margin: 0; color: var(--rf-muted); }
.rf-shelf-actions { display: flex; align-items: center; gap: 8px; }
.rf-shelf-actions .rf-icon-button:disabled { opacity: .32; cursor: default; transform: none; }
.rf-shelf-actions > a { display: inline-flex; align-items: center; gap: 7px; margin-left: 6px; color: var(--rf-berry); font-weight: 700; text-decoration: none; white-space: nowrap; }
.rf-story-shelf { display: grid; grid-auto-columns: clamp(205px,21.5vw,255px); grid-auto-flow: column; gap: 24px; padding: 8px 4px 28px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-padding-inline: 4px; scroll-snap-type: inline mandatory; scrollbar-color: var(--rf-berry) #eadfe0; scrollbar-width: thin; }
.rf-story-shelf--count-1 { grid-auto-columns: min(310px,80vw); }
.rf-story-tile { min-width: 0; scroll-snap-align: start; }
.rf-story-tile__cover { position: relative; display: block; aspect-ratio: 3 / 4; color: #fff; text-decoration: none; perspective: 900px; }
.rf-story-tile__art { display: block; width: 100%; height: 100%; overflow: hidden; background: var(--rf-aubergine); box-shadow: 0 20px 35px rgb(51 33 52 / 20%); transition: transform .4s cubic-bezier(.2,.75,.2,1),box-shadow .4s ease; transform-origin: center bottom; }
.rf-story-tile__art > img,.rf-story-tile__art > .rf-cover-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.75,.2,1); }
.rf-story-tile__cover:hover .rf-story-tile__art { box-shadow: 0 28px 52px rgb(51 33 52 / 30%); transform: translateY(-9px) rotateX(1.5deg); }
.rf-story-tile__cover:hover img { transform: scale(1.035); }
.rf-story-tile__status { position: absolute; inset: 14px auto auto -4px; padding: 6px 9px; color: #2f252d; background: var(--rf-gold); box-shadow: 4px 4px 0 var(--rf-berry); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.rf-story-tile__index { position: absolute; right: -7px; bottom: -17px; color: #fff; font-family: Georgia,serif; font-size: 58px; font-weight: 700; line-height: 1; text-shadow: 0 4px 18px rgb(22 14 25 / 42%); }
.rf-cover-placeholder { display: grid; place-items: center; padding: 20px; color: #fff; background: linear-gradient(135deg,var(--rf-berry),var(--rf-aubergine) 55%,var(--rf-cobalt)); text-align: center; }
.rf-cover-placeholder > span { font-family: Georgia, serif; font-size: 26px; line-height: 1.15; }
.rf-story-tile__copy { padding: 21px 4px 0; }
.rf-story-tile h3 { margin: 0 0 8px; font-size: 24px; }
.rf-story-tile h3 a { text-decoration: none; }
.rf-story-tile h3 a:hover { color: var(--rf-berry); }
.rf-story-tile p { display: -webkit-box; min-height: 51px; margin: 0 0 14px; color: var(--rf-muted); overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.rf-story-tile__meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: #817983; font-size: 13px; }
.rf-story-tile__meta a { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: var(--rf-cobalt); border-radius: 50%; }
.rf-story-tile__meta .rf-icon { width: 15px; height: 15px; }
.rf-library-more { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 42px; padding: 22px 24px; color: #4c4059; background: var(--rf-lavender); border-left: 5px solid var(--rf-cobalt); }

.rf-latest-band { display: grid; grid-template-columns: minmax(0,1.62fr) minmax(330px,.78fr); background: #efeaf4; border-block: 1px solid #ded5e5; }
.rf-latest { padding: 76px max(24px,calc((100vw - var(--rf-content)) / 2)) 78px; padding-right: 5vw; }
.rf-chapter-list { display: grid; gap: 10px; }
.rf-chapter-row { display: grid; grid-template-columns: 56px 34px minmax(0,1fr) auto auto 30px; align-items: center; gap: 14px; min-height: 78px; padding: 10px 13px 10px 10px; background: rgb(255 255 255 / 63%); border: 1px solid rgb(70 48 80 / 8%); text-decoration: none; transition: background .22s ease,box-shadow .22s ease,transform .22s ease; }
.rf-chapter-row:hover { background: #fff; box-shadow: 0 14px 32px rgb(54 38 66 / 12%); transform: translateX(5px); }
.rf-chapter-row__cover { display: grid; place-items: center; width: 56px; height: 56px; color: #fff; background: var(--rf-aubergine); overflow: hidden; }
.rf-chapter-row__cover > img { width: 100%; height: 100%; object-fit: cover; }
.rf-chapter-row__cover > span { font-family: Georgia,serif; font-size: 22px; }
.rf-chapter-row__number { color: var(--rf-berry); font-family: Georgia,serif; font-size: 21px; font-weight: 700; }
.rf-chapter-row__copy strong,.rf-chapter-row__copy small { display: block; }
.rf-chapter-row__copy small { color: var(--rf-muted); font-size: 12px; text-transform: uppercase; }
.rf-chapter-row__copy strong { font-family: Georgia,serif; font-size: 17px; }
.rf-chapter-row time { color: var(--rf-muted); font-size: 13px; white-space: nowrap; }
.rf-chapter-row__state { display: inline-flex; align-items: center; gap: 6px; color: var(--rf-cobalt); white-space: nowrap; }
.rf-chapter-row__arrow { display: grid; place-items: center; color: var(--rf-berry); }
.rf-member-panel { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 72px 4.5vw; color: #f8f2fa; background: linear-gradient(145deg,#332747,#493153 62%,#71384e); overflow: hidden; }
.rf-member-panel::before { content: "RF"; position: absolute; right: -26px; bottom: -68px; color: rgb(255 255 255 / 5%); font-family: Georgia,serif; font-size: 190px; }
.rf-member-panel::after { content: ""; position: absolute; inset: 0; border-left: 6px solid var(--rf-gold); pointer-events: none; }
.rf-member-panel > * { position: relative; }
.rf-member-panel .rf-kicker { color: #ffd98a; }
.rf-member-panel h2 { margin: 0 0 12px; color: #fff; font-size: 34px; }
.rf-member-panel > p:not(.rf-kicker) { color: #d9cee2; }
.rf-member-panel ul { margin: 20px 0 24px; padding: 0; list-style: none; }
.rf-member-panel li { display: flex; align-items: center; gap: 9px; margin: 11px 0; }
.rf-member-panel li .rf-icon { color: var(--rf-gold); }
.rf-member-panel small { display: block; margin-top: 13px; color: #bdb0c8; }

.rf-page { width: min(calc(100% - 40px), var(--rf-content)); min-height: 55vh; margin: 0 auto; padding: 70px 0 90px; }
.rf-page-header { max-width: 780px; margin-bottom: 38px; }
.rf-page-header h1 { margin: 0 0 12px; font-size: 52px; }
.rf-page-header p:last-child { color: var(--rf-muted); font-size: 18px; }
.rf-library-page__header { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 40px; max-width: none; padding-bottom: 34px; border-bottom: 1px solid var(--rf-line); }
.rf-library-count { display: grid; min-width: 170px; padding: 18px 22px; color: #fff; background: var(--rf-aubergine); border-bottom: 5px solid var(--rf-gold); }
.rf-library-count strong { color: #ffd071; font-family: Georgia,serif; font-size: 42px; line-height: 1; }
.rf-archive-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 52px 26px; }
.rf-pagination .navigation { margin-top: 48px; }
.rf-empty-library { padding: 70px 24px; text-align: center; background: var(--rf-lavender); border-top: 5px solid var(--rf-berry); }
.rf-empty-library h2 { margin: 0 0 8px; font-size: 34px; }

.rf-story-page { width: min(calc(100% - 40px), 1080px); margin: 0 auto; padding: 62px 0 90px; }
.rf-story-header { display: grid; grid-template-columns: 300px minmax(0,1fr); align-items: center; gap: 50px; }
.rf-story-header__cover { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--rf-radius); box-shadow: var(--rf-shadow); }
.rf-story-header__cover > * { width: 100%; height: 100%; object-fit: cover; }
.rf-story-header h1 { margin: 0 0 14px; font-size: 52px; }
.rf-story-hook { color: var(--rf-muted); font-size: 20px; }
.rf-taxonomy-line { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }
.rf-taxonomy-line a { padding: 5px 10px; color: var(--rf-berry-dark); background: #f7e8ed; border-radius: 4px; text-decoration: none; }
.rf-story-body { max-width: 780px; margin: 62px auto; font-family: Georgia,serif; font-size: 19px; }
.rf-story-chapters { margin-top: 50px; }
.rf-story-chapters > header { display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid var(--rf-berry); }
.rf-story-chapters h2 { margin: 0 0 12px; font-size: 34px; }
.rf-story-chapters ol { margin: 0; padding: 0; list-style: none; }
.rf-story-chapters li a { display: grid; grid-template-columns: 46px minmax(0,1fr) auto; gap: 15px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--rf-line); text-decoration: none; }
.rf-story-chapters li a > span:first-child { color: var(--rf-berry); font-weight: 700; text-align: center; }
.rf-story-chapters strong, .rf-story-chapters small { display: block; }
.rf-story-chapters small, .rf-story-chapters b { color: var(--rf-muted); font-weight: 400; }
.rf-prose { max-width: 780px; }
.rf-results { display: grid; gap: 20px; }
.rf-results article { padding: 20px 0; border-bottom: 1px solid var(--rf-line); }
.rf-results h2 { margin: 0; }
.rf-not-found { text-align: center; }
.rf-not-found h1 { font-size: 52px; }
.nav-links { display: flex; gap: 8px; margin-top: 36px; }
.page-numbers { padding: 8px 12px; border: 1px solid var(--rf-line); text-decoration: none; }
.page-numbers.current { color: #fff; background: var(--rf-berry); }

.rf-site-footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 30px max(24px, calc((100vw - var(--rf-content)) / 2)); color: #d7ceda; background: #28233a; }
.rf-site-footer .rf-brand__word { color: #fff; }
.rf-site-footer .rf-brand__word strong { color: #ffd273; }
.rf-site-footer .rf-brand__copy small { color: #a9a0ae; }
.rf-site-footer nav ul { gap: 20px; }
.rf-site-footer a { text-decoration: none; }
.rf-site-footer small { grid-column: 1 / -1; color: #a9a0ae; }

.fpl-gate { margin: 32px auto; padding: 28px; color: inherit; background: rgb(255 255 255 / 45%); border: 1px solid currentColor; border-radius: var(--rf-radius); text-align: center; }
.fpl-gate .button, .fpl-account .button, .fpl-patreon-login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; color: #fff; background: var(--rf-berry); border-radius: var(--rf-radius); text-decoration: none; }
.fpl-gate__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.fpl-notice { position: fixed; right: 16px; bottom: 16px; z-index: 1000; max-width: min(440px,calc(100vw - 32px)); padding: 14px 18px; color: var(--rf-ink); background: #fff; border: 1px solid var(--rf-line); box-shadow: var(--rf-shadow); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .rf-story-tile__art,.rf-story-tile__art > img,.rf-spotlight__cover,.rf-newest-ribbon,.rf-chapter-row,.rf-brand__mark,.rf-brand__mark::after,.rf-brand__page { transition: none; } }
@media (max-width: 960px) {
  body.admin-bar .rf-site-header { top: 46px; }
  .rf-site-header { grid-template-columns: 1fr auto; padding-inline: 20px; }
  .rf-primary-nav { position: absolute; inset: 82px 0 auto; height: auto; padding: 16px 20px 22px; background: #fffaf6; border-bottom: 1px solid var(--rf-line); box-shadow: var(--rf-shadow); }
  .redofanfics-home-page .rf-primary-nav { background: #251d30; border-color: rgb(255 255 255 / 12%); }
  .rf-primary-nav:not([data-open="true"]) { display: none; }
  .rf-primary-nav ul { flex-direction: column; gap: 0; }
  .rf-primary-nav li, .rf-primary-nav a { display: block; }
  .rf-primary-nav a { padding: 11px 0; }
  .rf-menu-toggle { display: inline-grid; }
  .rf-spotlight__inner { grid-template-columns: 235px minmax(0,1fr); gap: 44px; min-height: 590px; }
  .rf-spotlight h1 { font-size: 55px; }
  .rf-story-shelf { grid-auto-columns: 230px; }
  .rf-archive-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .rf-latest-band { grid-template-columns: 1fr; }
  .rf-member-panel { padding-inline: max(24px,calc((100vw - var(--rf-content)) / 2)); }
}
@media (max-width: 600px) {
  .rf-announcement { justify-content: flex-start; padding-inline: 17px; }
  .rf-site-header { min-height: 72px; padding-inline: 14px; gap: 9px; }
  .rf-brand { gap: 8px; }
  .rf-brand__mark { width: 42px; height: 42px; border-radius: 11px; }
  .rf-brand__mark svg { width: 35px; height: 35px; }
  .rf-brand__word { font-size: 18px; }
  .rf-brand__copy small { font-size: 7px; }
  .rf-account-action { width: 44px; padding: 0; }
  .rf-account-action span { position: absolute; width: 1px; height: 1px; clip: rect(0 0 0 0); overflow: hidden; }
  .rf-primary-nav, .rf-search-panel { inset-block-start: 72px; }
  .rf-search-panel { padding: 18px; }
  .rf-search-form > div { grid-template-columns: 1fr; }
  .rf-spotlight { min-height: 0; }
  .rf-spotlight__wash { inset: -20px; filter: blur(14px) saturate(.7); }
  .rf-spotlight__inner { display: flex; min-height: 0; width: 100%; padding: 0 0 67px; flex-direction: column; gap: 0; }
  .rf-spotlight__cover { width: 100%; aspect-ratio: 16 / 10; border: 0; box-shadow: none; transform: none; }
  .rf-spotlight__cover:hover { box-shadow: none; transform: none; }
  .rf-spotlight__cover img { object-position: center 31%; }
  .rf-spotlight__cover::after { background: linear-gradient(0deg,#251b30 0,transparent 58%); box-shadow: none; }
  .rf-spotlight__cover > span { inset: auto auto 14px 18px; }
  .rf-spotlight__copy { width: 100%; padding: 31px 20px 0; }
  .rf-spotlight h1 { font-size: 43px; overflow-wrap: anywhere; }
  .rf-spotlight__hook { font-size: 18px; }
  .rf-newest-ribbon { grid-template-columns: 1fr auto; gap: 8px; width: calc(100% - 34px); }
  .rf-newest-ribbon > span:first-child { grid-column: 1 / -1; }
  .rf-library-band, .rf-latest { padding-inline: 20px; }
  .rf-section-head { align-items: flex-start; flex-direction: column; }
  .rf-section-head--library { display: flex; }
  .rf-shelf-actions { width: 100%; }
  .rf-shelf-actions > a { margin-left: auto; }
  .rf-section-head h2 { font-size: 34px; }
  .rf-story-shelf { grid-auto-columns: min(70vw,245px); gap: 18px; margin-right: -20px; padding-right: 20px; }
  .rf-library-more { align-items: flex-start; flex-direction: column; }
  .rf-library-page__header { grid-template-columns: 1fr; }
  .rf-library-count { width: 100%; }
  .rf-archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 38px 15px; }
  .rf-archive-grid .rf-story-tile p { display: none; }
  .rf-chapter-row { grid-template-columns: 48px 27px minmax(0,1fr) auto; gap: 10px; padding: 8px; }
  .rf-chapter-row__cover { width: 48px; height: 52px; }
  .rf-chapter-row__state { grid-column: 3; font-size: 12px; }
  .rf-chapter-row time { grid-column: 4; grid-row: 2; font-size: 11px; }
  .rf-chapter-row__arrow { display: none; }
  .rf-chapter-row__copy strong { font-size: 15px; }
  .rf-archive-story, .rf-story-header { grid-template-columns: 1fr; }
  .rf-archive-story__cover, .rf-story-header__cover { width: min(100%,280px); margin: 0 auto; }
  .rf-page-header h1, .rf-story-header h1, .rf-not-found h1 { font-size: 40px; overflow-wrap: anywhere; }
  .rf-story-page { width: min(calc(100% - 32px),1080px); }
  .rf-story-chapters li a { grid-template-columns: 38px minmax(0,1fr); }
  .rf-story-chapters li b { grid-column: 2; }
  .rf-site-footer { grid-template-columns: 1fr; align-items: start; }
}
@media (forced-colors: active) { .rf-spotlight::after { background: CanvasText; } .rf-button, .rf-account-action { border: 1px solid ButtonText; } }
