/* Render supplied pixels at an honest size, without stretching or blur filters. */
html[data-visual-theme=fantasy] .illustration31{object-fit:contain;filter:none!important;image-rendering:auto}
html[data-visual-theme=fantasy] img.illustration31{max-width:min(100%,var(--source-width,300px))!important;max-height:min(100%,var(--source-height,300px))!important;margin-inline:auto}
html[data-visual-theme=fantasy] .specimen-art{height:150px!important;display:grid;place-items:center}
html[data-visual-theme=fantasy] .specimen-art>.illustration31{width:auto!important;height:auto!important;max-width:140px!important;max-height:140px!important}
html[data-visual-theme=fantasy] .specimen-art>img.illustration31{max-width:min(140px,var(--source-width,140px))!important;max-height:min(140px,var(--source-height,140px))!important}
html[data-visual-theme=fantasy] .specimen-art>svg.illustration31{width:140px!important;height:140px!important}
html[data-visual-theme=fantasy] .specimen-detail .illustration31,html[data-visual-theme=fantasy] .expedition-hero .illustration31{max-width:min(100%,var(--source-width,260px))!important;max-height:min(240px,var(--source-height,260px))!important}
html[data-visual-theme=fantasy] .product-preview:has(>.illustration31){display:grid;place-items:center}
html[data-visual-theme=fantasy] .product-preview>img.illustration31{width:auto!important;height:auto!important;max-height:min(120px,var(--source-height,120px))!important;max-width:min(130px,var(--source-width,130px))!important}
html[data-visual-theme=fantasy] .product-preview>svg.illustration31{width:150px!important;height:150px!important}
.painted-growth31{display:flex;width:100%;height:100%;align-items:flex-end;justify-content:center;overflow:visible}
.painted-growth31>.illustration31{width:100%!important;height:100%!important;transform:scale(var(--growth))!important;transform-origin:50% 95%;transition:transform 1s linear}
html[data-visual-theme=fantasy] .garden-tree27>.painted-growth31{height:100%;width:100%}
html[data-visual-theme=fantasy] :is(.nursery-grid,.nursery-cards27) .painted-growth31{height:150px}
html[data-visual-theme=fantasy] .product-preview.seed>.painted-growth31{height:150px}
html[data-visual-theme=fantasy] .room-object>.illustration31{max-width:100%!important;max-height:100%!important;transform:scaleX(var(--object-flip))!important}
html[data-visual-theme=fantasy] .subject-book .illustration31,html[data-visual-theme=fantasy] .subject-art .illustration31{max-width:110px!important;max-height:130px!important;margin:auto}
html[data-visual-theme=fantasy] .appearance-grid30 article>img{max-width:100%;max-height:130px;object-fit:contain}
html[data-visual-theme=fantasy] .carriage30>.illustration31{max-width:100%!important;max-height:100%!important;margin:0}
@media(prefers-reduced-motion:reduce){.painted-growth31>.illustration31{transition:none}}

html[data-visual-theme=fantasy] .station-intro.observatory-intro :is(h2,p,.eyebrow,small),html[data-visual-theme=fantasy] .expedition-hero :is(h2,p,.eyebrow,small){color:#f6efd9!important}
.painted-journey31{display:grid;place-items:center;animation:painted-drift31 7s ease-in-out infinite}.painted-journey31>.illustration31{max-width:220px!important;max-height:260px!important}.painted-journey31>.painted-growth31{width:260px;height:280px}
@keyframes painted-drift31{50%{transform:translateY(-12px) rotate(2deg)}}
@media(prefers-reduced-motion:reduce){.painted-journey31{animation:none}}


/* Support original atlas SVGs and individual high-resolution PNGs. */
html[data-visual-theme=fantasy] .painted-growth31>.illustration31{object-position:50% 100%}
html[data-visual-theme=fantasy] .plant-detail>.painted-growth31{width:210px;height:220px;margin:auto}
html[data-visual-theme=fantasy] .voyage-detail>.illustration31{width:140px;height:140px;flex:0 0 140px}
html[data-visual-theme=fantasy] .earned-sky>.illustration31{width:180px;height:180px}
html[data-visual-theme=fantasy] .building-sky>.illustration31{width:100%;height:230px}
html[data-visual-theme=fantasy] .studio-page .map-trigger>.illustration31{width:30px;height:30px}
html[data-visual-theme=fantasy] .unfound .specimen-art,
html[data-visual-theme=fantasy] .specimen-detail.unfound>div{opacity:1;filter:none}
html[data-visual-theme=fantasy] body[data-realm-accent] .expedition-hero :is(h2,p,.eyebrow,small,button){color:#f6efd9!important}
html[data-visual-theme=fantasy] .sky-visual>.illustration31{width:145px;height:145px}
@media(max-width:680px){
 html[data-visual-theme=fantasy] .sky-visual>.illustration31{width:110px;height:110px}
 html[data-visual-theme=fantasy] .voyage-detail>.illustration31{width:90px;height:90px;flex-basis:90px}
}
/* Place the growing plant inside the opening and above the timer label. */
html[data-visual-theme=fantasy] #focus-orb .focus-pod-glass{left:23%!important;top:22%!important;width:54%!important;height:46%!important}
html[data-visual-theme=fantasy] .focus-pod-glass .painted-growth31>.illustration31{transform:scale(max(.65,var(--growth)))!important;transform-origin:50% 100%}
/* Leave the subject number clear above the new book covers. */
html[data-visual-theme=fantasy] .subject-world-art>img[src*="assets/elysia30/cover-"]{height:calc(100% - 30px)!important;margin-top:24px}
/* 30.8: proportional corner motifs and each existing paper/ink palette. */
.full-frame29.frame-hires38{border-image-slice:var(--frame-slice,20%) fill!important;border-image-repeat:stretch!important;background:transparent!important;--frame-corner:64px;border-image-width:var(--frame-corner) calc(var(--frame-corner)*var(--frame-ratio,1))!important}
.card-preview29 .frame-hires38{mix-blend-mode:multiply;--frame-corner:30px}
html[data-visual-theme=fantasy] .full-card29 .card-skin-decoration:has(.frame-hires38){mix-blend-mode:multiply!important}
html[data-visual-theme=fantasy] .date-seal29.date-seal38{width:110px!important;height:110px!important;max-height:none;aspect-ratio:1;margin-inline:auto}
html[data-visual-theme=fantasy] .date-seal38>img{inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;filter:none!important}
html[data-visual-theme=fantasy] .date-seal38 .date-copy29{inset:auto 12%!important;top:var(--date-center,62%)!important;transform:translateY(-50%);height:auto;display:grid;grid-template-columns:auto auto;justify-content:center;align-items:baseline;column-gap:3px;row-gap:0;line-height:1}
html[data-visual-theme=fantasy] .date-seal38 .date-copy29 strong{grid-column:1/-1;font-size:23px!important;line-height:1!important;margin:0;padding:0}
html[data-visual-theme=fantasy] .date-seal38 .date-copy29 span{font-size:9px!important;line-height:1.15!important;margin:0;padding:0;white-space:nowrap}
html[data-visual-theme=fantasy] .date-seal38 .date-copy29 small{font-size:8px!important;line-height:1.15!important;margin:0;padding:0;white-space:nowrap}
html[data-visual-theme=fantasy] .ely-exam-mission:has(.date-seal38)>header{grid-template-columns:110px minmax(0,1fr)!important;align-items:center}
@media(max-width:650px){
 html[data-visual-theme=fantasy] .ely-exam-mission .date-seal38{width:90px!important;height:90px!important}
 html[data-visual-theme=fantasy] .ely-exam-mission:has(.date-seal38)>header{grid-template-columns:90px minmax(0,1fr)!important}
 html[data-visual-theme=fantasy] .ely-exam-mission .date-seal38 .date-copy29 strong{font-size:20px!important}
 html[data-visual-theme=fantasy] .ely-exam-mission .date-seal38 .date-copy29 span{font-size:8px!important}
 html[data-visual-theme=fantasy] .ely-exam-mission .date-seal38 .date-copy29 small{font-size:7px!important}
 .full-frame29.frame-hires38{--frame-corner:36px}
 .card-preview29 .full-frame29.frame-hires38{--frame-corner:24px}
}
html[data-visual-theme=fantasy] .studio-page .flashcard.full-card29 :is(.flash-question,.flash-answer,.answer-question,.flash-subtitle,.answer-label,.hint-text,.card-top>.tag){color:var(--folio-ink)!important}
html[data-visual-theme=fantasy] .studio-page .flashcard.full-card29 .flash-answer :is(p,li,strong,em,h1,h2,h3,h4,blockquote,code){color:inherit!important}

.pod-preview29:has(.pod-hires40){aspect-ratio:160/210}.pod-preview29>.pod-hires40{position:absolute;inset:0;width:100%!important;height:100%!important;z-index:2}.pod-preview29:has(.pod-hires40) .plant29{left:25%;right:25%;top:31%;bottom:20%}
html[data-visual-theme=fantasy] #focus-controls .focus-vessel:has(.pod-hires40) .focus-terrarium{inset:31% 25% 20%!important;width:50%!important;height:49%!important}
html[data-visual-theme=fantasy] #focus-orb:has(.pod-hires40) .focus-pod-glass{left:25%!important;width:50%!important;top:52px!important;height:82px!important}
@media(max-width:600px){html[data-visual-theme=fantasy] #focus-orb:has(.pod-hires40) .focus-pod-glass{top:42px!important;height:67px!important}}
@media(min-width:601px){html[data-visual-theme=fantasy] body[data-pod-size=compact] #focus-orb:has(.pod-hires40) .focus-pod-glass{top:42px!important;height:67px!important}}
