/* Scoped installation UI; the temple presentation remains unchanged. */
[data-install-lodge] { display:inline-flex; justify-content:center; align-items:center; gap:.55rem; min-height:44px; padding:.65rem 1rem; border:1px solid #e5d2a28c; border-radius:5px; background:#102a39d9; color:#f9f2e4; font:600 13px/1.35 'Manrope','Segoe UI',sans-serif; cursor:pointer; box-shadow:0 3px 14px #09151d1c; }
[data-install-lodge][hidden],.lodge-install-dialog [hidden] { display:none!important; }
[data-install-lodge]:hover { background:#1c4053; border-color:#e5d2a2; }
[data-install-lodge]:focus-visible,.lodge-install-dialog :focus-visible { outline:3px solid #ba9149; outline-offset:4px; }
.lodge-install-overlay { position:fixed; inset:0; z-index:1000; display:flex; align-items:center; justify-content:center; padding:24px; background:#081922a8; backdrop-filter:blur(5px); -webkit-backdrop-filter:blur(5px); }
.lodge-install-dialog { position:relative; width:min(100%,650px); max-height:calc(100vh - 48px); max-height:calc(100dvh - 48px); overflow-y:auto; overscroll-behavior:contain; overflow-wrap:anywhere; padding:30px 34px; border:1px solid #d8ccb6; border-radius:14px; background:#fcfaf5; color:#253e4b; box-shadow:0 24px 90px #0005; font:400 15px/1.75 'Manrope','Segoe UI',sans-serif; text-align:left; }
.lodge-install-heading { display:flex; gap:14px; align-items:center; justify-content:space-between; margin-bottom:20px; }
.lodge-install-kicker { color:#806435; font-size:10px; font-weight:750; letter-spacing:.14em; line-height:1.5; }
.lodge-install-close { flex:none; min-height:40px; padding:7px 10px; border:1px solid #d7cdbb; border-radius:5px; background:transparent; color:#49606b; font:600 12px 'Manrope','Segoe UI',sans-serif; }
.lodge-install-title { margin:0 0 18px; color:#163849; font:400 clamp(27px,5vw,37px)/1.18 'Libre Caslon Display',Georgia,serif; letter-spacing:-.015em; }
.lodge-install-content p { margin:0 0 14px; }
.lodge-install-content h3 { margin:24px 0 12px; font-size:17px; font-weight:750; color:#254d60; }
.lodge-install-content h4 { margin:17px 0 6px; font-size:14px; font-weight:750; color:#334c59; }
.lodge-install-version,.lodge-install-footnote { color:#62717a; font-size:12px; line-height:1.65; }
.lodge-install-status { padding:12px 14px; border:1px solid #dfc992; border-radius:6px; background:#fbf1d8; color:#70511c; font-size:13px; line-height:1.6; }
.lodge-install-consent { display:flex; align-items:flex-start; gap:13px; margin:23px 0 8px; padding:16px; border:1px solid #d4c9b5; border-radius:7px; background:#f2eee3; font-weight:600; line-height:1.6; cursor:pointer; }
.lodge-install-consent input { flex:none; width:21px; height:21px; margin:2px 0 0; accent-color:#24506a; }
.lodge-install-actions { display:flex; flex-wrap:wrap; gap:11px; margin-top:24px; padding-top:19px; border-top:1px solid #ded6c7; }
.lodge-install-action { min-height:46px; padding:11px 19px; border:1px solid #b9b7ad; border-radius:6px; background:transparent; color:#25475a; font:650 14px/1.5 'Manrope','Segoe UI',sans-serif; }
.lodge-install-action--primary { border-color:#244b61; background:#244b61; color:#fff; }
.lodge-install-action:hover:not(:disabled) { border-color:#9c7940; }
.lodge-install-action:disabled { opacity:.48; cursor:not-allowed; }
.lodge-install-notice { margin:18px 0 0; padding:12px 14px; border-left:3px solid #9d7842; background:#f1e9d7; color:#55442d; font-size:13px; line-height:1.65; }
.lodge-install-steps { padding-left:23px; margin:17px 0; }
.lodge-install-steps li { margin:0 0 14px; padding-left:5px; }
@media (max-width:600px) {
  [data-install-lodge] { font-size:12px; padding:.6rem .85rem; }
  .lodge-install-overlay { padding:12px; padding-top:max(12px,env(safe-area-inset-top)); padding-bottom:max(12px,env(safe-area-inset-bottom)); }
  .lodge-install-dialog { max-height:calc(100vh - 24px); max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); border-radius:11px; padding:20px; font-size:15px; }
  .lodge-install-heading { margin-bottom:17px; }
  .lodge-install-kicker { font-size:9px; letter-spacing:.1em; }
  .lodge-install-actions { gap:9px; }
  .lodge-install-action { flex:1; padding:12px 14px; }
  .lodge-install-consent { padding:13px; }
}
@media (prefers-reduced-motion:reduce) { .lodge-install-dialog { scroll-behavior:auto; } }

/* Browser install links fit alongside the existing member entrance. */
.lodge-platform-links { display:flex; flex-wrap:wrap; justify-content:center; gap:4px 18px; }
.lodge-platform-links a { display:inline-flex; align-items:center; min-height:44px; color:inherit; font:600 12px/1.4 'Manrope','Segoe UI',sans-serif; text-decoration:underline; text-underline-offset:4px; }
.welcome-access .lodge-platform-links { color:#f4d9a7; text-shadow:0 2px 8px #071820; }

/* Home-screen installation badges below the untouched temple scenes. */
.home-install-symbols { position:absolute; width:0; height:0; overflow:hidden; }
.home-install-options { display:flex; gap:10px; }
.home-install-badge { display:flex; align-items:center; gap:11px; min-width:175px; min-height:64px; padding:12px 17px; border:1px solid #d9c8a366; border-radius:11px; background:#112e3eee; color:#fff; text-decoration:none; box-shadow:0 4px 18px #0617203b; transition:transform .18s,box-shadow .18s; }
.home-install-badge--android { border-color:#b7ceb2; background:#e1eadd; color:#203f2b; }
.home-install-badge:hover { transform:translateY(-2px); box-shadow:0 7px 22px #06172055; }
.home-install-badge:focus-visible,.home-member-signin:focus-visible { outline:3px solid #e0bf7a; outline-offset:4px; }
.home-install-badge svg { flex:none; width:27px; height:32px; fill:currentColor; }
.home-install-badge--android svg { width:31px; }
.home-install-badge>span { display:flex; flex-direction:column; gap:3px; }
.home-install-badge small { font:500 9px/1.2 'Manrope','Segoe UI',sans-serif; opacity:.85; }
.home-install-badge strong { font:750 15px/1.3 'Manrope','Segoe UI',sans-serif; letter-spacing:-.02em; white-space:nowrap; }
.home-member-signin { display:inline-flex; align-items:center; gap:14px; min-height:44px; padding:5px 8px; font:600 12px/1.4 'Manrope','Segoe UI',sans-serif; color:#f2d7a4; text-shadow:0 1px 8px #061720; text-decoration:none; }
.home-member-signin:hover { text-decoration:underline; text-underline-offset:4px; }.home-member-signin>span { font-size:18px; }
@media(max-width:600px) and (orientation:portrait) {
  .temple-home { grid-template-rows:104px minmax(0,1fr) 195px; }
  .temple-canvas { --scene-bottom:201px; }
  .welcome-row { height:184px; gap:8px; }
  .welcome-access { width:100%; gap:0; }
  .home-install-options { width:100%; gap:10px; }
  .home-install-badge { flex:1; min-width:0; min-height:60px; padding:10px 12px; gap:9px; }
  .home-install-badge svg { width:24px; height:29px; }.home-install-badge--android svg { width:28px; }
  .home-install-badge strong { font-size:13px; }.home-install-badge small { font-size:8px; white-space:nowrap; }
}
@media(max-width:360px) and (orientation:portrait) { .temple-home { grid-template-rows:94px minmax(0,1fr) 195px; }.home-install-badge { padding:10px; gap:7px; } }
@media(max-height:500px) and (min-aspect-ratio:6/5) {
  .welcome-access { flex-direction:row; align-items:center; gap:10px; }
  .home-install-badge { min-width:130px; min-height:50px; padding:8px 10px; gap:8px; }
  .home-install-badge svg { width:22px; height:26px; }.home-install-badge--android svg { width:26px; }
  .home-install-badge strong { font-size:12px; }.home-install-badge small { font-size:7px; }
  .home-member-signin { font-size:10px; gap:6px; padding:4px; }
}
@media(prefers-reduced-motion:reduce) { .home-install-badge { transition:none; }.home-install-badge:hover { transform:none; } }
