/* No inline style exception: image geometry formerly lived in HTML attributes. */
.card-scene>.atlas-image[data-media-tile]{left:0;top:0;width:100%;height:100%;object-fit:fill}
.nf-topic-art>.topic-image,.topic-image{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
img.card-back-image[class]{height:auto;max-width:100%}
.progress .progress-0{width:0}.progress .progress-1{width:33.333333%}.progress .progress-2{width:66.666667%}.progress .progress-3{width:100%}
.metrika-pixel{position:absolute;left:-9999px}
.cookie-panel{position:fixed;z-index:100;inset:auto 1rem 1rem auto;max-width:38rem;padding:1.25rem;background:var(--paper,#f6f1e5);color:var(--ink,#292b2c);border:1px solid #867354;border-radius:12px;box-shadow:0 6px 24px #292b2c26;max-height:calc(100dvh - 2rem);overflow:auto;font-family:Inter,sans-serif}
.cookie-panel p{max-width:65ch;margin:0 0 1rem;line-height:1.55}
.cookie-panel h2{font-family:'Playfair Display',serif;font-size:1.5rem;margin:0 0 .75rem}
.cookie-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin:0 0 1rem}
.cookie-panel .field-help{font-size:.875rem;color:inherit;margin-bottom:0}
.cookie-panel a{text-decoration:underline;text-underline-offset:.18em}
@media(max-width:600px){.cookie-panel{inset:auto .75rem .75rem;max-width:none;padding:1rem}.cookie-actions .button{flex:1;min-height:44px}.cookie-panel .text-button{min-height:44px}}

/* Keep the consent notice readable without displacing the first-screen introduction. */
@media(max-width:600px){.cookie-panel>p:not(.field-help){font-size:.875rem;line-height:1.55}}

/* Text enlargement: let words and intrinsic grid children reflow, never clip them. */
main,footer{overflow-wrap:anywhere}
.site-header nav a,footer .legal-links a{min-width:0;overflow-wrap:anywhere}
footer .legal-links{grid-template-columns:minmax(0,1fr)}
footer .brand.small{max-width:100%;flex-wrap:wrap;row-gap:12px}
.public-home h1,.public-home h2,.app-start h1,.theme-row strong,.theme-row small{overflow-wrap:anywhere}
.theme-row>span:nth-child(2),.how-grid>*{min-width:0}
.how-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.nf-atlas-results .catalog-name,.nf-atlas-results .library-card h2,.atlas-image-status{overflow-wrap:anywhere}
.nf-native-filter,.nf-native-filter select{min-width:0;max-width:100%}
@media(max-width:700px){.how-grid{grid-template-columns:minmax(0,1fr)}}

/* Complete topic-card derivatives: all four share portrait proportions, never cover/crop. */
.nf-topic-art>.topic-image{object-fit:contain;object-position:center;width:100%;height:100%}
