/* Relic Ruins' cinematic composition, retaining each realm's native art and palette. */
.realm-film-layout .title-card,.realm-film-layout .cov-entry{background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;text-align:left!important;padding:0!important;width:min(660px,100%)!important;max-width:none!important;margin:0!important;display:block!important}
.realm-film-layout .screen-inner{display:block!important;padding:150px clamp(28px,7vw,110px) 115px!important;min-height:100svh;box-sizing:border-box}
.cov-title.realm-film-layout{align-items:flex-start!important;justify-content:center!important;padding:135px clamp(28px,7vw,110px) 105px!important;min-height:100svh;box-sizing:border-box}
.realm-film-layout .realm-film-title{font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(66px,7.6vw,116px)!important;font-weight:400!important;line-height:.94!important;letter-spacing:-.055em!important;color:var(--film-title-color)!important;margin:0 0 24px!important;text-shadow:0 5px 32px #0007}
.realm-film-title>span{display:block}.realm-film-layout .crest,.realm-film-layout .cov-crest,.realm-film-layout .title-series,.realm-film-layout .realm-line,.realm-film-layout .cov-realm{display:none!important}
.realm-film-layout .game-title,.realm-film-layout .cov-game-title{display:none!important}
.realm-film-layout .tagline,.realm-film-layout .cov-tagline{max-width:420px!important;text-align:left!important;margin:0 0 28px!important;font-size:17px!important;line-height:1.7!important}
.realm-film-paths{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0 28px;max-width:590px}
.realm-film-path{display:flex!important;align-items:center;gap:14px;text-align:left!important;padding:19px 18px!important;background:transparent!important;color:inherit!important;border:1px solid currentColor!important;border-radius:3px!important;box-shadow:none!important;min-height:90px;transition:background .2s,transform .2s}
.realm-film-path:hover{background:#ffffff12!important;transform:translateY(-2px)}.realm-film-path b{display:block;font-size:17px;font-weight:500}.realm-film-path small{display:block;font-size:12px;opacity:.75;margin-top:6px}.realm-film-path>span:last-child{margin-left:auto}.realm-film-icon{font-size:28px;opacity:.8}
.realm-film-layout .cov-brand-text,.realm-film-layout .cov-brand-text b,.realm-film-layout .cov-brand-text small{font-family:CovenantOpening,Georgia,serif!important;font-weight:400!important;letter-spacing:0!important;text-transform:none!important}
.realm-film-layout .tide-title-divider{display:none}.realm-film-layout .tide-quick{max-width:590px;margin:14px 0!important}.realm-film-layout .cov-tools{justify-content:flex-start!important}.realm-film-layout .cinema-brand{z-index:2}.realm-film-layout .cov-continue{max-width:590px}
.realm-film-dialog{background:var(--panel,#10232b);color:inherit;width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:34px;border:1px solid currentColor;border-radius:8px;box-sizing:border-box;box-shadow:0 25px 90px #0008}
.realm-film-dialog::backdrop{background:#020910c9;backdrop-filter:blur(7px)}.realm-film-dialog h2{font:400 30px Georgia,serif;margin:10px 0}.realm-film-dialog>p{font-size:14px;line-height:1.6}.realm-film-kicker{font-size:11px!important;text-transform:uppercase;letter-spacing:.15em;opacity:.7}.realm-film-close{position:absolute;right:12px;top:9px;background:transparent!important;border:0!important;color:inherit;font-size:28px!important;padding:6px!important}.realm-film-dialog form{margin-top:24px}.realm-film-dialog button[hidden]{display:none!important}.realm-film-dialog .play-choice,.realm-film-dialog .cov-play-choice{display:block!important}.realm-film-dialog .play-btn,.realm-film-dialog .cov-play{width:100%}.realm-film-dialog input{box-sizing:border-box;max-width:100%}
@media(max-width:700px){.realm-film-layout .screen-inner{padding:125px 24px 120px!important}.cov-title.realm-film-layout{padding:120px 24px 110px!important;justify-content:flex-start!important}.realm-film-layout .realm-film-title{font-size:clamp(54px,13vw,82px)!important;line-height:1!important;margin-bottom:20px!important}.realm-film-layout .tagline,.realm-film-layout .cov-tagline{font-size:15px!important}.realm-film-paths{gap:9px}.realm-film-path{padding:14px 10px!important;gap:9px;min-height:88px}.realm-film-path b{font-size:14px}.realm-film-path small{font-size:11px}.realm-film-icon{font-size:22px}.realm-film-dialog{padding:28px 20px}.realm-film-layout .vista-label{display:none}.realm-film-layout .cinema-brand{padding:22px 24px!important}.realm-film-layout .title-footer,.realm-film-layout .cov-foot{position:relative!important;bottom:auto!important;left:auto!important;right:auto!important;flex-wrap:wrap;gap:12px}.realm-film-layout .title-footer{margin:0 24px 20px}.realm-film-layout .cov-foot{width:100%;margin-top:36px}}
@media(prefers-reduced-motion:reduce){.realm-film-path{transition:none}}
/* Override the earlier shared opening-card skin only on these two landings. */
html body[data-cui-game] .realm-film-layout [data-realm-film]{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;padding:0!important;margin:0!important;text-align:left!important;width:min(660px,100%)!important;max-width:none!important}
html body[data-cui-game] .realm-film-layout [data-realm-film] .crest,html body[data-cui-game] .realm-film-layout [data-realm-film] .cov-crest{display:none!important}
html body[data-cui-game] .realm-film-layout .realm-film-title,html body[data-cui-game] .realm-film-layout .realm-film-title span{text-align:left!important}
html body[data-cui-game] .realm-film-layout [data-realm-film] .tagline,html body[data-cui-game] .realm-film-layout [data-realm-film] .cov-tagline{margin:0 0 28px!important;text-align:left!important}
html body[data-cui-game] .realm-film-layout .screen-inner{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:165px clamp(28px,7vw,110px) 115px!important;min-height:100svh;align-content:center;box-sizing:border-box}
html body[data-cui-game] .realm-film-dialog .play-choice,html body[data-cui-game] .realm-film-dialog .cov-play-choice{display:block!important}
html body[data-cui-game] .realm-film-dialog .play-btn,html body[data-cui-game] .realm-film-dialog .cov-play{width:100%!important}
@media(max-width:700px){html body[data-cui-game] .realm-film-layout .screen-inner{padding:150px 24px 55px!important;min-height:auto!important}html body[data-cui-game] .realm-film-layout [data-realm-film]{width:100%!important}}
/* iPad and computers: the footer line sits below the buttons in the normal flow, so it can never cover the
   Teacher Access / Demo Mode / How to play links on a short screen (the page scrolls instead). */
@media(min-width:701px){
 .title-screen.realm-film-layout{display:flex!important;flex-direction:column}
 html body .title-screen.realm-film-layout .screen-inner{flex:1 0 auto;min-height:0!important;padding-bottom:44px!important}
 .realm-film-layout .title-footer{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;flex:none;flex-wrap:wrap;margin:0 max(7vw,calc((100vw - 1480px)/2)) 22px}
 .cov-title.realm-film-layout{flex-direction:column!important;flex-wrap:nowrap!important;justify-content:flex-start!important;padding-bottom:0!important}
 .realm-film-layout .cov-foot{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;flex:none;align-self:stretch;margin:auto calc(-1*clamp(28px,7vw,110px)) 0!important;padding-top:16px;flex-wrap:wrap}
 .cov-title.realm-film-layout .cov-entry{margin-bottom:44px!important}
}
