:root { color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: #252525; font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
main { max-width: 800px; margin: 0 auto; padding: 48px 32px 72px; }
h1, h2, h3, h4, h5, p { margin: 0; }
h1 { font-size: 25px; line-height: 1.3; font-weight: 600; }
.intro { margin-top: 10px; color: #626262; font-size: 14px; }
.intro a { color: inherit; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid #555; outline-offset: 3px; }
main > section { margin-top: 56px; padding-top: 32px; border-top: 1px solid #d9d9d9; }
h2 { font-size: 34px; line-height: 1.25; margin-bottom: 20px; font-weight: 650; }
.chapter { margin-top: 52px; padding-top: 30px; border-top: 1px solid #e3e3e3; }
h3 { font-size: 25px; line-height: 1.3; font-weight: 650; margin-bottom: 20px; }
h4 { font-size: 20px; line-height: 1.4; font-weight: 600; margin-bottom: 12px; }
h5 { font-size: 17px; line-height: 1.4; font-weight: 600; margin-bottom: 14px; }
.chapter-part { margin-top: 30px; }
.creator-assets-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 24px; }
.creator-asset { margin: 0; min-width: 0; }
.asset-preview { position: relative; height: 420px; background: #f6f6f6; }
.asset-preview img, .asset-preview video { display: block; width: 100%; height: 100%; object-fit: contain; }
.asset-download { position: absolute; top: 12px; right: 12px; padding: 8px 12px; border: 1px solid #d9d9d9; background: #fff; color: #252525; font-size: 14px; font-weight: 600; text-decoration: none; opacity: 0; pointer-events: none; }
.asset-preview:hover .asset-download, .asset-preview:focus-within .asset-download { opacity: 1; pointer-events: auto; }
.creator-asset figcaption { margin-top: 10px; font-size: 14px; font-weight: 600; }
p + p { margin-top: 12px; }
ul, ol { padding-left: 23px; margin: 14px 0 20px; }
li { padding-left: 3px; margin: 8px 0; }
.shared-instructions { margin: 26px 0 36px; font-size: 14px; }
.part-label { font-size: 13px; font-weight: 650; margin-bottom: 8px; color: #555; }
.shared-instructions .part-label { font-size: 15px; color: #252525; }
.format { padding-top: 28px; margin-top: 36px; border-top: 1px solid #d9d9d9; }
.format > h4 { font-size: 23px; margin-bottom: 6px; }
.format-summary { color: #626262; font-size: 14px; margin-bottom: 20px; }
.format-part { margin-top: 26px; }
.examples-label { font-size: 15px; font-weight: 600; margin-top: 28px; }
.example { margin-top: 24px; padding: 6px 0 6px 22px; border-left: 1px solid #d9d9d9; }
.example + .example { margin-top: 42px; }
.example h5 { font-size: 19px; }
.example-part { margin-top: 20px; }
.example-part .part-label + p { margin-top: 0; }
.story-variant { margin-top: 24px; }
.story-variant + .story-variant { padding-top: 24px; border-top: 1px solid #e3e3e3; }
.story-variant h6 { margin: 0; font-size: 16px; line-height: 1.4; font-weight: 600; }
.story-variant + .example-part { margin-top: 28px; }
.reference { margin: 0; }
.competitor-references { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.chapter-part p + .reference { margin-top: 16px; }
.reference img { display: block; width: 100%; height: auto; }
.reference figcaption { margin-top: 8px; color: #626262; font-size: 13px; line-height: 1.5; }
table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0 20px; table-layout: fixed; }
th, td { padding: 10px 12px; border: 1px solid #e3e3e3; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
th { font-weight: 600; }
table th:first-child { width: 20%; }
.example table th:first-child { width: 12%; }
.example table th:nth-child(2) { width: 29%; }
.caption-example { margin: 0; padding: 16px; background: #f6f6f6; font-size: 14px; }
.caption-example p:last-child { margin-bottom: 0; }
.caption-example li { margin: 4px 0; }
section, .chapter, .format, .example { scroll-margin-top: 24px; }
::selection { background: #e3d9f0; }
@media (hover: none), (pointer: coarse) {
  .asset-download { opacity: 1; pointer-events: auto; }
}
@media (max-width: 600px) {
  main { padding: 28px 22px 48px; }
  h1 { font-size: 22px; }
  h2 { font-size: 30px; }
  h3 { font-size: 23px; }
  h4 { font-size: 18px; }
  main > section { margin-top: 40px; padding-top: 28px; }
  .chapter { margin-top: 40px; padding-top: 26px; }
  .chapter-part { margin-top: 26px; }
  .format > h4 { font-size: 21px; }
  .example { padding-left: 14px; }
  th, td { padding: 8px; font-size: 12px; }
  .example table th:first-child { width: 15%; }
  .caption-example { padding: 14px; }
  .competitor-references { grid-template-columns: 1fr; }
  .creator-assets-grid { grid-template-columns: 1fr; }
  .asset-download { opacity: 1; pointer-events: auto; }
}
