/* A quiet title-card entrance. The real Manor image carries the invitation. */
.lune-player .poster{background:url('assets/world-references/manor-source-camera.png') center/cover no-repeat}
.lune-player #entry{padding:26px 3.6% 20px;display:flex;align-items:stretch;justify-content:space-between;gap:20px;background:linear-gradient(180deg,#0809077a,transparent 28%,#08090718 42%,#080907d4 84%,#080907ee),linear-gradient(90deg,#08090750,transparent 30%,transparent 70%,#08090750)}
.manor-entry-masthead,.manor-entry-footer{display:flex;align-items:center;justify-content:space-between;gap:20px}
.manor-entry-masthead{font:9px Georgia,serif;letter-spacing:3px;flex-shrink:0}
.manor-entry-masthead b{display:block;font:20px Georgia,serif;letter-spacing:.4px;margin-top:6px}
.manor-entry-layout{display:flex;flex:1;justify-content:center;align-items:flex-end;padding:120px 0 clamp(16px,5vh,64px);text-align:center}
.manor-entry-copy{width:min(100%,760px);animation:manor-invitation .75s ease-out both}
.manor-entry-ornament{display:flex;gap:18px;align-items:center;justify-content:center;color:#d7bf8e;font:20px Georgia,serif}
.manor-entry-ornament:before,.manor-entry-ornament:after{content:'';width:72px;height:1px;background:linear-gradient(90deg,transparent,#d7bf8e88)}
.manor-entry-ornament:after{transform:rotate(180deg)}
.lune-player #entry h1{font:clamp(68px,8vw,118px)/1.08 Georgia,serif;letter-spacing:-.045em;margin:18px 0 10px;text-shadow:0 4px 40px #0008}
.lune-player #entry h1 span{color:#d7bf8e}
.lune-player #entry .manor-entry-intro{font:italic clamp(19px,2vw,25px)/1.5 Georgia,serif;color:#ded0b5;max-width:none;margin:0 0 30px}
.manor-entry-actions{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap}
.lune-player #enter{position:relative;display:flex;gap:48px;align-items:center;justify-content:space-between;min-width:228px;min-height:58px;margin:0;padding:16px 24px;border:1px solid #dac799aa;border-radius:2px;background:#e5d5b2;color:#211c15;font:14px Arial,sans-serif;transition:background .2s,box-shadow .2s}
.lune-player #enter span{font-size:23px;transition:transform .2s}
.lune-player #enter:hover{background:#f2e4c8;box-shadow:0 0 36px #d9bb7b24}
.lune-player #enter:hover span{transform:translate(3px,-3px)}
.lune-player #cancel{margin:0;font-size:12px;min-height:48px}
.lune-player #entry #status{font:12px/1.6 Arial,sans-serif;max-width:450px;margin:14px auto 0;color:#ded0b5;min-height:0}
.lune-player #entry #status:empty{display:none}
.manor-entry-footer{position:relative;min-height:44px;padding-right:112px;flex-shrink:0}
.manor-entry-credit{font:9px/1.6 Arial,sans-serif;letter-spacing:1.5px;text-transform:uppercase;color:#b9ae98}
.manor-entry-settings{position:relative;text-align:left}
.manor-entry-settings summary{list-style:none;display:flex;align-items:center;gap:18px;min-height:44px;font:12px Arial,sans-serif;color:#e0d1b6;cursor:pointer}
.manor-entry-settings summary::-webkit-details-marker{display:none}
.manor-entry-settings summary span{font-size:18px;transition:transform .2s}
.manor-entry-settings[open] summary span{transform:rotate(45deg)}
.manor-entry-settings summary:focus-visible{outline:2px solid #e9d8b2;outline-offset:4px}
.manor-settings-panel{position:absolute;z-index:5;left:0;bottom:56px;width:340px;max-width:calc(100vw - 40px);padding:24px;background:#12120ff5;border:1px solid #bfa77a66;box-shadow:0 14px 55px #0008;max-height:calc(100dvh - 160px);overflow-y:auto;border-radius:3px}
.lune-player #entry .manor-settings-panel p{font:12px/1.6 Arial,sans-serif;max-width:none}
.manor-settings-panel .quality-label{display:block;margin-top:18px;color:#dfd5c3}
.manor-settings-panel select{width:100%;font-size:13px!important}
.lune-player #entry .manor-settings-panel .eyebrow{font-size:9px;letter-spacing:2px;margin:0;color:#c9b181}
.lune-player #entry .manor-settings-panel .manor-entry-size{font-size:11px;color:#cfbe9f}
.lune-player #entry #download-budget{font-size:11px;color:#bcb3a2;margin-bottom:16px}
.manor-settings-panel a{display:flex;align-items:center;min-height:44px;text-decoration:none;border-top:1px solid #baa3772b}
.manor-settings-panel a:hover{text-decoration:underline}
.manor-loading-line{height:2px;width:min(80%,280px);margin:24px auto 0;overflow:hidden;display:none;background:#e2cfaa20}
.manor-loading-line i{display:block;width:35%;height:100%;background:#e2cfaa;animation:manor-preparing 1.7s ease-in-out infinite}
.is-preparing .manor-loading-line{display:block}
@keyframes manor-preparing{from{transform:translateX(-110%)}to{transform:translateX(390%)}}
@keyframes manor-invitation{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:650px){
 .lune-player #entry{padding:20px 6% max(18px,env(safe-area-inset-bottom));gap:12px;background:linear-gradient(180deg,#08090788,transparent 30%,#08090766 50%,#080907ef 88%)}
 .manor-entry-masthead{letter-spacing:2px;font-size:7px}.manor-entry-masthead b{font-size:16px}
 .manor-entry-layout{padding:140px 0 35px;align-items:flex-end}
 .lune-player #entry h1{font-size:clamp(55px,14vw,82px);margin:16px 0 12px;white-space:nowrap}
 .lune-player #entry .manor-entry-intro{font-size:20px;margin-bottom:26px}
 .manor-entry-footer{padding-right:100px;align-items:flex-start;flex-direction:column;gap:4px}
 .manor-entry-credit{font-size:8px;letter-spacing:.6px}
 .manor-settings-panel{bottom:52px;width:320px;max-height:calc(100dvh - 170px)}
}
@media(max-height:600px) and (min-width:651px){.manor-entry-layout{padding:24px 0 4px}.lune-player #entry h1{font-size:64px;margin:8px 0}.lune-player #entry .manor-entry-intro{font-size:20px;margin-bottom:18px}.manor-entry-ornament{display:none}}
@media(prefers-reduced-motion:reduce){.manor-entry-copy{animation:none}.manor-loading-line i{animation:none;width:100%;opacity:.6}.lune-player #enter,.lune-player #enter span,.manor-entry-settings summary span{transition:none}}

/* Website visitors have already chosen to enter; this is a loading transition. */
.manor-auto-entry #enter,.lune-player #entry.is-preparing #enter{display:none}
.manor-auto-entry .manor-loading-line{display:block}
.manor-auto-entry .manor-entry-intro,.lune-player #entry.is-preparing .manor-entry-intro{display:none}
.lune-player #entry.is-preparing .manor-entry-copy{animation:none}
#room>canvas:not([hidden]){animation:manor-room-reveal .7s ease-out both}
@keyframes manor-room-reveal{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){#room>canvas:not([hidden]){animation:none}}
