.character-section{background:#f1f0e7;border-block:1px solid #e2e4d9;padding-block:50px}.character-section .section-top{align-items:center}.character-section .section-top p{max-width:600px;line-height:2}.heritage-filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:23px}.heritage-filters button{border:1px solid #d8ddce;background:transparent;border-radius:30px;padding:7px 14px;font-size:11px}.heritage-filters button.active{color:white;background:var(--green);border-color:var(--green)}.character-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.character-card{border:1px solid #dce1d2;background:#fffdf7;padding:0;border-radius:12px;overflow:hidden;text-align:start;transition:transform .2s}.character-card:hover{transform:translateY(-5px)}.character-art{background-image:url('assets/characters-family.png');background-size:400% 200%;background-repeat:no-repeat;background-color:#d8dfcf;aspect-ratio:1;position:relative}.character-art.c-omani-boy{background-position:0 0}.character-art.c-omani-girl{background-position:33.333% 0}.character-art.c-gulf{background-position:66.667% 0}.character-art.c-arab{background-position:100% 0}.character-art.c-knight{background-position:0 100%}.character-art.c-knight-girl{background-position:33.333% 100%}.character-art.c-sailor{background-position:66.667% 100%}.character-art.c-scholar{background-position:100% 100%}.character-art.c-superhero{background-image:url('assets/hero-family.png');background-size:cover;background-position:62% center}.character-art.c-astronaut,.character-art.c-diver{background-image:url('assets/worlds-family.png');background-size:300% 100%}.character-art.c-astronaut{background-position:0 center}.character-art.c-diver{background-position:100% center}.character-card h3{font-size:12px;margin:12px 10px 4px}.character-card p{font-size:9px;color:var(--muted);margin:0 10px 14px;line-height:1.8}.character-art .character-choice{position:absolute;bottom:8px;inset-inline-end:8px;border-radius:50%;background:#fffdf1ed;width:25px;height:25px;display:grid;place-items:center;font-size:13px}.history-section{padding-top:10px}.history-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:15px}.history-card{background:#fffdf8;border:1px solid #e0e4d8;border-radius:12px;overflow:hidden;display:flex;flex-direction:column}.history-card .character-art{aspect-ratio:1.25}.history-copy{padding:16px;display:flex;flex-direction:column;flex:1}.history-copy .badge{font-size:8px;color:#76836a}.history-copy h3{font-size:17px;margin:5px 0}.history-copy p{font-size:10px;color:var(--muted);line-height:1.9;margin:0 0 14px}.history-copy .button{font-size:10px;padding:9px 10px;margin-top:auto}.history-source{font-size:9px;text-decoration:underline;text-underline-offset:3px;color:#7c806d;display:block;margin-top:10px}.history-preface{font-size:11px;line-height:2;color:#7e8575;margin-bottom:22px}.identity-ribbon{display:flex;gap:20px;align-items:center;justify-content:space-between;border-top:1px solid #dce0d0;margin-top:25px;padding-top:20px;font-size:10px;color:#78816e;line-height:2}.identity-ribbon strong{color:var(--ink);font-weight:600}.studio-label{display:block;font-size:13px;font-weight:700;margin:20px 0 12px}.studio-characters{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.character-option{background:#fffdf7;padding:0;border:2px solid transparent;box-shadow:0 0 0 1px #dce2d3;border-radius:9px;overflow:hidden;text-align:start}.character-option[aria-checked=true]{border-color:#447255;box-shadow:none}.character-option strong{display:block;font-size:10px;padding:7px 9px}.character-option .character-art{aspect-ratio:1.1}.character-option[aria-checked=true] .character-choice{background:#276048;color:white}.story-settings{margin-top:20px;padding:18px;background:#eef1e6;border:1px solid #dfe4d6;border-radius:10px}.story-settings .form-grid{gap:13px}.choice-summary{font-size:10px;line-height:2;background:#f8f1e2;padding:10px 13px;border-radius:8px;margin-top:12px}.chapter-label{display:flex;gap:7px;align-items:center;justify-content:space-between;border-block:1px solid #e0e6d7;padding-block:8px;font-size:11px;margin:10px 0}.chapter-label small{font-size:9px;background:#edf1e6;padding:3px 7px;border-radius:15px}.story-meta{font-size:10px;line-height:1.9;color:#7e8673;margin-top:12px}.story-value{margin-top:16px;border-inline-start:3px solid #b59a60;background:#f0eddf;padding:12px 15px;font-size:11px;line-height:2}.story-value strong{display:block;color:var(--ink)}.story-sources{font-size:10px;line-height:2;margin-top:13px}.story-sources a{text-decoration:underline;text-underline-offset:3px}.book-cover .character-art{height:100%;aspect-ratio:auto;background-size:400% 200%}.book-cover .c-superhero{background-size:cover}.book-cover .c-astronaut,.book-cover .c-diver{background-size:300% 100%}.reference-photo{display:flex;align-items:center;gap:8px;font-size:9px;color:#7a8274;margin-block:12px}.reference-photo img{width:40px;height:40px;object-fit:cover;border-radius:50%;border:2px solid #e0e5d7}.film .character-art{width:100%;height:100%;aspect-ratio:auto;animation:camera 12s ease-in-out infinite alternate}.landmark-note{font-size:9px;line-height:1.8;color:#8a8f7c;margin-top:10px}.chapter-jumps{display:flex;gap:5px;flex-wrap:wrap;margin-block:12px}.chapter-jumps button{font-size:9px;border:1px solid #dce2d5;border-radius:20px;padding:5px 9px;background:none}.chapter-jumps button.active{background:#e3ebd9}.preview-text textarea{line-height:2;min-height:170px}#studio:has(.studio-characters){max-width:900px}.book-cover h3{font-size:23px}.book-cover:after{pointer-events:none}.character-heading{max-width:600px}.history-heading{max-width:650px}
@media(max-width:1100px){.character-grid{grid-template-columns:repeat(4,1fr)}.history-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:800px){.character-grid{grid-template-columns:repeat(3,1fr)}.history-grid{grid-template-columns:repeat(2,1fr)}.character-section{padding-block:35px}.identity-ribbon{flex-wrap:wrap;gap:5px}.studio-characters{grid-template-columns:repeat(4,1fr)}.history-copy h3{font-size:15px}}@media(max-width:560px){.character-grid{grid-template-columns:repeat(2,1fr);gap:12px}.character-card h3{font-size:12px}.heritage-filters{gap:5px}.heritage-filters button{font-size:9px;padding:6px 10px}.history-grid{gap:10px}.history-copy{padding:12px}.history-copy h3{font-size:14px}.history-copy p{font-size:10px}.history-copy .button{font-size:9px}.studio-characters{grid-template-columns:repeat(3,1fr)}.character-option strong{font-size:9px;padding:6px}.story-settings{padding:13px}.identity-ribbon{font-size:9px}.character-heading h2,.history-heading h2{font-size:23px}.book-cover h3{font-size:20px}}
