:root { color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.fictionLog { margin: 0; background: #fbf8ef; color: #12231f; font-family: "Palatino Linotype", Georgia, serif; line-height: 1.62; }
.topline { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; gap: 18px; padding: 12px max(18px, calc((100% - 1160px) / 2)); background: rgba(251,248,239,.92); border-bottom: 1px solid rgba(18,35,31,.13); backdrop-filter: blur(14px); }
.brand, nav { display: flex; align-items: center; gap: 10px; }
.brand, nav a, .download-button { text-decoration: none; }
.brand { color: #12231f; font-weight: 900; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav { flex-wrap: wrap; }
nav a { color: #0f8f5d; font-weight: 900; }
main { width: min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 30px 0 56px; }
section { margin: 22px 0; border: 1px solid rgba(18,35,31,.14); border-radius: 8px; background: rgba(255,255,255,.92); padding: clamp(22px, 4vw, 42px); box-shadow: 0 18px 56px rgba(40,60,44,.1); }
.hero { min-height: 520px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 330px); gap: 34px; align-items: center; background: linear-gradient(90deg, #fffef8, #e8fff0); }
.note { border-left: 6px solid #22c55e; padding-left: clamp(18px, 3vw, 32px); }
.stamp { margin: 0 0 9px; color: #0f8f5d; font-size: 12px; font-weight: 900; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 14px; font-size: clamp(42px, 7vw, 82px); line-height: .96; letter-spacing: 0; }
h2 { margin-bottom: 12px; font-size: clamp(26px, 4vw, 42px); line-height: 1.08; letter-spacing: 0; }
p { color: #3d4f49; }
.download-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border-radius: 8px; padding: 0 22px; color: #fff; background: #0f8f5d; font-family: Verdana, sans-serif; font-weight: 900; white-space: nowrap; }
.bookmark { display: grid; gap: 12px; border-radius: 8px; padding: 22px; color: #fff; background: #12231f; }
.bookmark strong { font-size: 32px; line-height: 1.1; overflow-wrap: anywhere; }
.bookmark code { white-space: normal; color: #c7f9da; overflow-wrap: anywhere; }
.reading-checks .checklist, .issues, .faq-grid { display: grid; gap: 14px; }
.checklist, .issues { grid-template-columns: repeat(3, minmax(0, 1fr)); }
article, details { border: 1px solid rgba(18,35,31,.13); border-radius: 8px; padding: 18px; background: #fffef8; }
.account-storage { display: grid; grid-template-columns: minmax(0,.9fr) minmax(280px,1.1fr); gap: 24px; background: #12231f; }
.account-storage h2, .account-storage p, .account-storage li, .account-storage .stamp { color: #f2fff5; }
.account-storage ul { display: grid; gap: 12px; margin: 0; padding-left: 22px; }
.story-cards { display: grid; grid-template-columns: .9fr repeat(3, minmax(160px, 1fr)); gap: 14px; align-items: center; }
.story-cards .intro { align-self: center; }
figure { margin: 0; overflow: hidden; border-radius: 8px; background: #12231f; }
.card-a { transform: translateY(-16px); }
.card-b { transform: translateY(18px); }
.card-c { transform: translateY(-4px); }
figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
figcaption { padding: 10px; color: #fff; font-family: Verdana, sans-serif; font-size: 13px; font-weight: 800; }
.facts dl { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin: 18px 0; }
.facts div { border-radius: 8px; padding: 13px; background: #eefbea; }
dt { color: #0f8f5d; font-size: 12px; font-weight: 900; text-transform: uppercase; }
dd { margin: 4px 0 0; color: #12231f; font-weight: 900; overflow-wrap: anywhere; }
.install ol { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; padding: 0; list-style: none; counter-reset: step; }
.install li { counter-increment: step; border-radius: 8px; padding: 16px; background: #eefbea; }
.install li::before { content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 8px; color: #fff; background: #0f8f5d; font-family: Verdana, sans-serif; font-weight: 900; }
.faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
summary { cursor: pointer; color: #12231f; font-weight: 900; }
details p { margin: 10px 0 0; }
.final { background: linear-gradient(135deg, #12231f, #0f8f5d); }
.final h2, .final p, .final .stamp { color: #fff; }
.final .download-button { color: #12231f; background: #fff; }
footer { width: min(1160px, calc(100% - 32px)); margin: 0 auto 36px; color: #65756f; }
@media (max-width: 920px) {
  .topline { align-items: flex-start; flex-direction: column; }
  .hero, .account-storage, .story-cards, .checklist, .issues, .facts dl, .install ol, .faq-grid { grid-template-columns: 1fr; }
  .card-a, .card-b, .card-c { transform: none; }
  h1 { font-size: clamp(38px, 13vw, 64px); }
  .download-button { width: 100%; }
}
