
.home-shell{width:min(1280px,calc(100% - 40px));margin:auto}.home-shell>.masthead{max-width:none}.portal-link{font:14px/1.4 "Segoe UI",Arial,sans-serif;color:#e3c9a0;text-underline-offset:4px}.home-scene{position:relative;isolation:isolate;border:2px solid #ad8958;border-radius:12px;overflow:hidden;background:#06204b;box-shadow:0 12px 40px #130a0877,0 0 50px #976b4a1a;margin-top:24px;display:grid;grid-template-columns:1fr}.home-landscape{grid-area:1/1;display:block;width:100%;height:auto}.home-scene::before{content:"";grid-area:1/1;z-index:1;pointer-events:none;background:linear-gradient(#03132ed9,transparent 58%)}#home-magic{grid-area:1/1;position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2;mix-blend-mode:screen}.home-invitation{grid-area:1/1;z-index:3;position:relative;text-align:center;padding:clamp(28px,4vw,48px) 24px 24px;align-self:start;pointer-events:none}.home-invitation h1{font:400 clamp(30px,4vw,48px)/1.12 Underdog,Georgia,serif;color:#ffebbe;margin:0 auto 20px;text-shadow:0 2px 3px #071126,0 0 25px #f7bd4c33}.home-invitation p{max-width:740px;margin:0 auto 22px;font:16px/1.6 "Segoe UI",Arial,sans-serif;color:#f6e2b8;text-shadow:0 2px 4px #041128}.home-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;pointer-events:auto}.home-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;min-width:170px;border:3px solid #b78a4e;padding:10px 20px;background:linear-gradient(#61432c,#39271e);color:#ffedc2;font:600 16px/1.25 "Segoe UI",Arial,sans-serif;text-shadow:2px 2px #241613;text-decoration:none;box-shadow:inset 2px 2px #ddb97950,inset -2px -2px #170e0b,0 4px #170e0b;transition:border-color .2s,box-shadow .2s}.home-button.primary{background:linear-gradient(#8d4852,#532c37);border-color:#dbb572;box-shadow:inset 2px 2px #ddb97950,inset -2px -2px #170e0b,0 4px #170e0b,0 0 25px #d6a64c38}.home-button:hover{border-color:#ffe2a0;color:#fff4db;box-shadow:inset 2px 2px #ddb97950,inset -2px -2px #170e0b,0 4px #170e0b,0 0 30px #f6be5c66}.scene-apple{position:absolute;z-index:3;left:20px;bottom:15px;width:76px;height:76px;object-fit:contain;filter:drop-shadow(0 3px 4px #160907aa);transform-origin:50% 12%;transition:transform .35s ease}.home-scene:hover .scene-apple{animation:apple-wobble 1.4s ease-in-out}.home-shell>footer.site-project-footer{max-width:none;margin:0;padding-left:4px;padding-right:4px}.realm-home .site-project-footer .project-community-link{font-size:13px}@keyframes apple-wobble{0%,100%{transform:rotate(0)}25%{transform:rotate(10deg)}55%{transform:rotate(-7deg)}80%{transform:rotate(3deg)}}@media(max-width:850px) and (min-width:601px){.home-invitation{padding:28px 20px}.home-invitation h1{font-size:34px;margin-bottom:12px}.home-invitation p{font-size:14px;margin-bottom:16px}.home-button{min-height:44px;font-size:14px;padding:8px 14px}}@media(max-width:600px){.home-shell{width:calc(100% - 24px)}.home-scene{margin-top:20px}.home-invitation{grid-area:1/1;padding:28px 18px 26px;background:linear-gradient(#172139,#231a24)}.home-invitation h1{font-size:29px;line-height:1.2}.home-invitation p{font-size:15px}.home-landscape{grid-area:2/1}.home-scene::before{display:none}#home-magic{grid-area:2/1;position:relative;inset:auto;align-self:stretch}.scene-apple{width:48px;height:48px;left:10px;bottom:10px}.home-actions{gap:12px}.home-button{min-width:0;width:100%;font-size:15px}.home-invitation br{display:none}.portal-link{font-size:13px}.home-shell .masthead .tavern-logo{flex-basis:45px;width:45px;height:45px}}@media(prefers-reduced-motion:reduce){.home-scene:hover .scene-apple{animation:none}.scene-apple,.home-button{transition:none}}

/* Floating tavern emblem and quiet stars are page details, separate from the landscape. */
.scene-apple{left:4%;bottom:auto;top:57%;width:108px;height:108px;filter:drop-shadow(0 6px 6px #16090788) drop-shadow(0 0 14px #f3bb512b);animation:sign-levitate 6s ease-in-out infinite}.home-scene:hover .scene-apple{animation:sign-levitate 6s ease-in-out infinite}.home-stars{position:absolute;z-index:3;right:5%;top:54%;width:120px;height:95px;pointer-events:none}.home-stars i{position:absolute;width:3px;height:24px;left:45%;top:10%;border-radius:50%;background:#ffedc4;box-shadow:0 0 14px 3px #ffd26b66;animation:star-twinkle 4.5s ease-in-out infinite}.home-stars i::after{content:"";position:absolute;inset:0;transform:rotate(90deg);background:inherit;border-radius:inherit}.home-stars i:nth-child(2){left:12%;top:65%;height:13px;width:2px;animation-delay:-1s}.home-stars i:nth-child(3){left:78%;top:48%;height:18px;width:2px;animation-delay:-2.2s}.home-stars i:nth-child(4){left:55%;top:85%;height:10px;width:2px;animation-delay:-3.2s}.home-stars i:nth-child(5){left:88%;top:0;height:9px;width:2px;animation-delay:-.5s}@keyframes sign-levitate{0%,100%{transform:translateY(0) rotate(-6deg)}50%{transform:translateY(-13px) rotate(6deg)}}@keyframes star-twinkle{0%,100%{opacity:.3;transform:scale(.7)}50%{opacity:.95;transform:scale(1.05)}}@media(max-width:850px) and (min-width:601px){.scene-apple{width:72px;height:72px;top:65%}.home-stars{width:90px;right:4%;top:63%}}@media(max-width:600px){.scene-apple{width:52px;height:52px;top:auto;bottom:15px;left:12px}.home-stars{top:auto;bottom:20px;right:12px;width:70px;height:65px}.home-stars i{height:16px}}@media(prefers-reduced-motion:reduce){.scene-apple,.home-scene:hover .scene-apple,.home-stars i{animation:none!important}}

.home-shell main{max-width:none}.home-scene{margin-top:0}.home-scene .floating-sign{position:absolute;z-index:4;left:4%;top:57%;width:108px;height:108px;min-height:0;border:0;background:transparent;box-shadow:none;padding:0;cursor:pointer;touch-action:manipulation}.home-scene .scene-apple{position:static;display:block;width:100%;height:auto;animation:none;transition:none}.home-scene:hover .scene-apple{animation:none}.home-scene.is-enchanted .scene-apple{animation:sign-levitate 6s ease-in-out infinite}.home-stars i{animation:none;opacity:.5}.home-scene.is-enchanted .home-stars i{animation:star-twinkle 4.5s ease-in-out infinite}.home-scene.is-enchanted .home-stars i:nth-child(2){animation-delay:-1s}.home-scene.is-enchanted .home-stars i:nth-child(3){animation-delay:-2.2s}.home-scene.is-enchanted .home-stars i:nth-child(4){animation-delay:-3.2s}.home-scene.is-enchanted .home-stars i:nth-child(5){animation-delay:-.5s}@media(max-width:850px) and (min-width:601px){.home-scene .floating-sign{width:72px;height:72px;top:65%}}@media(max-width:600px){.home-scene .floating-sign{width:52px;height:52px;top:auto;bottom:15px;left:12px}}@media(prefers-reduced-motion:reduce){.home-scene.is-enchanted .scene-apple,.home-scene.is-enchanted .home-stars i{animation:none!important}}

/* Warm lamplight is quieter than fireworks and reacts locally to the pointer. */
.tavern-lights{grid-area:1/1;position:relative;z-index:2;pointer-events:none;mix-blend-mode:screen}.tavern-lights i{position:absolute;left:var(--x);top:var(--y);width:calc(var(--r)*2);height:calc(var(--r)*2);transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(ellipse,#ffe6a170 0,#ffc45a35 22%,#ffb13c0d 48%,transparent 72%);opacity:.2;transition:opacity .6s,scale .6s;pointer-events:auto}.home-scene.is-enchanted .tavern-lights i{opacity:.55;animation:lamplight-breathe 3.8s ease-in-out var(--delay) infinite}.home-scene .tavern-lights i:is(:hover,.is-lit){opacity:1;scale:1.4;background:radial-gradient(ellipse,#fff1bb95 0,#ffd36c65 22%,#ffbb3c15 52%,transparent 74%);animation:none}.home-stars i{opacity:.35}.home-scene.is-enchanted .home-stars i{animation-duration:5.8s;filter:drop-shadow(0 0 3px #ffd26b66)}@keyframes lamplight-breathe{0%,100%{opacity:.35}50%{opacity:.65}}@media(max-width:600px){.tavern-lights{grid-area:2/1}.tavern-lights i{width:var(--r);height:var(--r)}}@media(prefers-reduced-motion:reduce){.tavern-lights i{animation:none!important;transition:none}}
