/* The approved galleries and art directions are shared. Size text against the
   edition being read, keep multi-line controls usable and preserve reading order. */
.ex-gallery-page .ex-tile-word,
.ex-gallery-page .ex-tile-caption,
.ex-viewport-page .ex-demo-options button,
.ex-viewport-page .ex-meaning,
.ex-viewport-page .ex-footnotes,
.ex-viewport-page .ex-encounter {
  overflow-wrap: anywhere;
}
.ex-starter {margin-top:.85rem}
.ex-starter summary {cursor:pointer;display:list-item;width:fit-content;text-decoration:underline;text-underline-offset:.22em;font:600 .9rem/1.5 system-ui,sans-serif}
.ex-starter[open] p {margin:.55rem 0 0}
.ex-encounter [data-ex-text] {transition:opacity .2s ease}
.ex-encounter [data-ex-text].ex-changing {opacity:0}
.ex-viewport-page .ex-ticker-window {direction:ltr}
.ex-viewport-page .ex-ticker-window b {unicode-bidi:plaintext}
.ex-viewport-page .ex-demo-options {flex-wrap:wrap}
.ex-viewport-page .ex-scene .ex-name {white-space:normal}
.ex-viewport-page .ex-meaning,.ex-viewport-page .ex-footnotes {min-width:0}

html[dir=rtl] .ex-viewport-page > header.oz-mast .ex-breadcrumb {left:auto;right:0;transform-origin:right}
html[dir=rtl] .ex-gallery-page .ex072-comparison {border-left:0;border-inline-start:1px solid #b4bdc044;padding-left:0;padding-inline-start:clamp(12px,2vw,34px)}
html[dir=rtl] .ex-viewport-page .ex-world::after {background:linear-gradient(270deg,transparent 40%,color-mix(in srgb,var(--ex-paper) 50%,transparent) 54%,color-mix(in srgb,var(--ex-paper) 94%,transparent) 75%)}
html[dir=rtl] .ex-viewport-page :is(.ex-meaning,.ex-footnotes,.ex-encounter) {text-align:start}
html[dir=rtl] .ex-viewport-page .ex-layout {direction:rtl}
html[dir=rtl] .ex-viewport-page .ex-slogan {margin-inline-start:8%;margin-inline-end:0}
html[dir=rtl] .ex-viewport-page .ex-origin {margin-inline-start:5%;margin-inline-end:0}

:lang(ja) :is(.ex-name,.ex-headline,.ex-tile-word,.ex-gallery h1),
:lang(zh) :is(.ex-name,.ex-headline,.ex-tile-word,.ex-gallery h1),
:lang(ko) :is(.ex-name,.ex-headline,.ex-tile-word,.ex-gallery h1),
:lang(hi) :is(.ex-name,.ex-headline,.ex-tile-word,.ex-gallery h1) {letter-spacing:normal!important;line-height:1.18}
:lang(hi) :is(.ex-gallery-head,.ex-scene,.ex-tile-grid) {line-height:1.45}
.ex-viewport-page .ex-scene {height:auto;min-height:calc(100svh - var(--ex-next-peek,60px))}
.ex-viewport-page .ex-layout {min-height:min-content}
@media(max-width:700px) {
  .ex-viewport-page .ex-scene {min-height:0}
  html[dir=rtl] .ex-viewport-page .ex-world::after {background:linear-gradient(180deg,transparent 12%,color-mix(in srgb,var(--ex-paper) 35%,transparent) 35%,var(--ex-paper) 71%)}
  .ex-viewport-page .ex-demo-options button {max-width:100%}
}
@media(prefers-reduced-motion:reduce) {
  .ex-encounter [data-ex-text] {transition:none}
}
.ex-landing072 .ex-gallery-motion {cursor:pointer;display:inline-grid;place-items:center;min-height:32px;min-width:32px;padding:0;border:1px solid currentColor;border-radius:50%;background:transparent;color:var(--ex072-accent);font:600 15px/1 system-ui}
.ex-landing072 .ex-gallery-motion[hidden] {display:none}
.ex-landing072 .ex072-bar-links a {white-space:normal;text-align:start}
.ex-landing072 .ex072-gallery-bar {flex-wrap:wrap}
@media(max-width:540px) {.ex-landing072 .ex072-bar-links {gap:10px;justify-content:flex-start}.ex-landing072 .ex-gallery-motion {min-height:38px;min-width:38px}}
/* Size the name before fitting its lockup. Scaling a multi-line localized
   name together with its much smaller captions can otherwise shrink captions
   below reading size. The 48 individual art treatments still supply the face,
   colors, frame and tilt. */
.ex-viewport-page .ex-scene[data-name-length=wide] .ex-name {
  font-size:clamp(38px,min(6.35vw,9.1dvh),106px)!important;
  line-height:1.06;max-width:100%;
}
.ex-viewport-page .ex-scene[data-name-length=medium] .ex-name {
  font-size:clamp(48px,min(8.9vw,12.9dvh),160px)!important;
  line-height:1.06;max-width:100%;
}
@media(max-width:700px) {
  .ex-viewport-page .ex-scene[data-name-length=wide] .ex-name {font-size:clamp(35px,12vw,72px)!important}
  .ex-viewport-page .ex-scene[data-name-length=medium] .ex-name {font-size:clamp(41px,16vw,90px)!important}
}
/* OZ resource 074 */
