#temple-local{--paper:#f6f3e9;--ink:#424c40;--olive:#637259;--muted:#858978;--line:#aeb49e55;font:14px/1.6 system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);position:fixed;inset:0;z-index:110;pointer-events:none}#temple-local *{box-sizing:border-box}#temple-local button,#temple-local input,#temple-local textarea{font:inherit}#temple-local button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border:1px solid var(--line);border-radius:9px;background:#faf8ef;color:var(--ink);padding:9px 14px;cursor:pointer;transition:background .15s,transform .15s}#temple-local button:hover{background:#e9ecdf}#temple-local button:active{transform:translateY(1px)}#temple-local button:focus-visible,#temple-local input:focus-visible,#temple-local textarea:focus-visible{outline:2px solid #a5824f;outline-offset:3px}#temple-local button[hidden]{display:none!important}#temple-local svg{width:22px;height:22px;flex-shrink:0}#temple-local h2{font-size:24px;line-height:1.5;letter-spacing:.02em;font-weight:500;margin:8px 0 20px}#temple-local h3{font-size:15px;font-weight:500}#temple-local p{margin:12px 0}#temple-local small{display:block;color:var(--muted);font-size:11px;line-height:1.7}.temple-toolbar{position:absolute;top:18px;left:24px;right:158px;display:flex;align-items:center;justify-content:space-between;gap:18px;pointer-events:auto}.temple-wordmark{display:flex;gap:10px;align-items:center;letter-spacing:.12em;text-shadow:0 1px 7px var(--paper)}.temple-wordmark>svg{width:31px!important;height:31px!important}.temple-wordmark span{font-size:17px}.temple-wordmark small{font-size:10px;letter-spacing:.1em}.temple-invite{background:#f6f3e9e8!important;border-radius:22px!important;box-shadow:0 2px 10px #2b392410}.temple-offerings{position:absolute;right:20px;bottom:114px;width:284px;padding:20px;background:#f6f3e9ed;border:1px solid #fbfaf2a1;border-radius:16px;box-shadow:0 12px 48px #1d291c1a;backdrop-filter:blur(16px);pointer-events:auto}.temple-eyebrow,.temple-dialog-eyebrow{color:var(--muted);font-size:11px;letter-spacing:.12em}.temple-offering-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.temple-offering-grid button{display:grid!important;grid-template-columns:24px 1fr;grid-template-rows:auto auto;gap:3px 8px!important;text-align:left;padding:12px!important}.temple-offering-grid svg{grid-row:1/3;color:#998154}.temple-offering-grid span{font-size:12px}.temple-offering-grid b{font:400 27px/1.2 Georgia,serif}.temple-rule{font-size:11px;color:#7c8172;line-height:1.8!important;margin:13px 0!important}.temple-earn{display:flex;gap:8px}.temple-earn>button{flex:1;padding:8px!important;font-size:12px!important}.temple-primary{background:var(--olive)!important;color:#fffdf3!important;border-color:var(--olive)!important}.temple-primary:hover{background:#52654d!important}.temple-wide{width:100%;margin:12px 0}.temple-promoter{border-top:1px solid var(--line);margin-top:16px;padding-top:14px;display:flex;align-items:center;justify-content:space-between;font-size:12px}.temple-promoter button{padding:5px 8px!important;font-size:11px!important;min-height:32px!important;background:transparent!important}.temple-device-note{margin-top:14px;font-size:10px!important}.temple-local-dialog{pointer-events:auto;position:fixed;inset:0;width:min(460px,calc(100vw - 32px));max-height:min(88dvh,780px);overflow-y:auto;margin:auto;padding:30px;border:1px solid #e1e3d5;border-radius:20px;background:var(--paper);color:var(--ink);box-shadow:0 24px 100px #16271340}.temple-local-dialog::backdrop{background:#1d281b70;backdrop-filter:blur(5px)}.temple-dialog-close{position:absolute;right:13px;top:13px;border:none!important;background:transparent!important;font-size:25px!important;width:34px;height:34px;min-height:34px!important;padding:0!important}.temple-ad-stage{text-align:center;background:radial-gradient(ellipse at bottom,#e1d8b5,#e9ecdf 70%);border:1px solid #c4c9b1;border-radius:12px;padding:30px 18px;margin:20px 0}.temple-ad-stage>svg{width:62px!important;height:62px!important;color:#8b9a78}.temple-ad-stage h3{font:400 21px/1.6 Georgia,"Songti SC",serif!important}.temple-ad-stage p{font-size:12px;color:#7d8474}.temple-ad-progress{display:block;width:100%;height:6px;accent-color:var(--olive);border:0;border-radius:10px}.temple-ad-status{font-size:12px;min-height:32px}.temple-invite-illustration{display:flex;align-items:center;justify-content:center;gap:26px;margin:22px 0;color:#a88952}.temple-invite-illustration>svg{width:48px!important;height:48px!important}.temple-invite-illustration>svg:nth-child(2){width:25px!important;color:#7c8f6c}.temple-link-label,.temple-wish-label{display:block;font-size:12px}.temple-link{display:block;width:100%;padding:12px;margin-top:8px;border:1px solid var(--line);border-radius:8px;background:#eaece2;color:var(--ink);font-size:12px!important}.temple-caution{padding:10px 12px;border-radius:8px;background:#eee3cb;color:#8b754f;font-size:11px}.temple-text-button{background:transparent!important;border:0!important;font-size:11px!important;text-decoration:underline;text-underline-offset:4px;padding:4px 0!important}.temple-share-status{font-size:12px}.temple-wish-label textarea{resize:vertical;display:block;width:100%;min-height:110px;margin-top:8px;padding:13px;background:#fffcf5;border:1px solid var(--line);border-radius:9px;color:var(--ink)}.temple-wish-counter{text-align:right;font-size:11px;color:var(--muted);margin:4px 0!important}.temple-colors{display:flex;border:0;padding:0;gap:14px;margin:20px 0}.temple-colors legend{font-size:12px;margin-bottom:10px}.temple-colors label{position:relative;cursor:pointer;width:28px;height:28px}.temple-colors input{position:absolute;inset:0;opacity:0}.temple-colors span{display:block;width:26px;height:26px;background:var(--swatch);border-radius:50%;border:3px solid var(--paper);box-shadow:0 0 0 1px #b9bcaa}.temple-colors input:checked+span{box-shadow:0 0 0 2px #677957}.temple-colors input:focus-visible+span{outline:2px solid #a5824f;outline-offset:4px}.temple-wish-error{font-size:12px;color:#a35f4e}.temple-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:24px 0}.temple-stat-grid>div{padding:16px 8px;background:#e9ecdf;border-radius:10px;text-align:center}.temple-stat-grid b{display:block;font:400 30px/1.4 Georgia,serif}.temple-stat-grid span{font-size:11px;color:var(--muted)}.temple-wish-list{max-height:240px;overflow:auto}.temple-wish-list article{display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:8px 0}.temple-wish-list svg{color:#a98b4e}.temple-wish-list p{flex:1;font-size:13px;overflow-wrap:anywhere}.temple-wish-list time,.temple-event-list time{font-size:10px;color:var(--muted);white-space:nowrap}.temple-event-list{max-height:230px;overflow:auto}.temple-event-list>div{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid var(--line);font-size:12px}.temple-incense-visual{position:relative;height:180px;margin:15px 0;display:flex;justify-content:center;align-items:flex-end;gap:15px;background:radial-gradient(ellipse at bottom,#e5e1cf,transparent 65%)}.temple-incense-visual i{display:block;width:3px;height:95px;background:linear-gradient(#c87f47 0 6%,#ac8659 6%);border-radius:4px;position:relative}.temple-incense-visual i:before{content:"";position:absolute;bottom:99%;left:-7px;width:17px;height:75px;border-left:2px solid #8c96837a;border-radius:50%;animation:temple-smoke 4s ease-in-out infinite}.temple-incense-visual i:nth-child(2):before{animation-delay:-1.5s}.temple-incense-visual i:nth-child(3):before{animation-delay:-3s}.temple-incense-visual span{position:absolute;bottom:0;width:95px;height:25px;background:#a89873;border-radius:4px 4px 30px 30px}.temple-lantern-visual{text-align:center;padding:20px;background:radial-gradient(ellipse,#ebd9a670,transparent 65%)}.temple-lantern-visual>svg{width:100px!important;height:120px!important;color:#bd9252;filter:drop-shadow(0 0 14px #d9b36088);animation:temple-sway 4s ease-in-out infinite}.temple-saved-wish{text-align:center;font:17px/1.9 "Songti SC",Georgia,serif!important;white-space:pre-wrap;overflow-wrap:anywhere}.temple-toast{pointer-events:none;position:absolute;left:50%;bottom:105px;transform:translateX(-50%);padding:12px 22px;border-radius:30px;background:#424e3fe8;color:#fffdf3;font-size:13px;box-shadow:0 4px 20px #263b2420;max-width:calc(100vw - 32px);width:max-content}.temple-toast[hidden]{display:none}#game-support,#support-dialog,.cafe25-context-actions,.cafe25-coffee-dialog,.cafe25-share-dialog,.cafe25-artwork-dialog,#game-exit{display:none!important}#sansa-language-switcher{z-index:120!important}
@keyframes temple-smoke{0%,100%{transform:translateX(-3px) scaleX(.7);opacity:.2}50%{transform:translateX(5px) scaleX(1.3);opacity:.7}}@keyframes temple-sway{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}
@media(max-width:700px){.temple-toolbar{top:14px;left:14px;right:130px;gap:8px;align-items:flex-start}.temple-wordmark span{font-size:13px;white-space:nowrap}.temple-wordmark>svg{width:23px!important}.temple-invite{position:fixed;top:64px;left:14px;padding:7px 12px!important;font-size:12px!important;white-space:nowrap}.temple-offerings{right:12px;bottom:98px;width:228px;padding:14px;border-radius:13px;max-height:45dvh;overflow:auto}.temple-offering-grid{gap:8px;margin-top:9px}.temple-offering-grid button{padding:9px!important}.temple-offering-grid b{font-size:23px}.temple-rule{font-size:10px}.temple-promoter{margin-top:10px;padding-top:10px}.temple-device-note{display:none!important}.temple-local-dialog{padding:26px 22px}.temple-toast{bottom:82px;z-index:2}#temple-local h2{font-size:21px}.temple-wordmark small{font-size:9px}}
@media(prefers-reduced-motion:reduce){#temple-local *{animation:none!important;transition:none!important}}

[data-place*="cafe"],[data-place*="coffee"]{display:none!important}

#village-places{position:fixed;left:24px;top:82px;pointer-events:auto}
@media(max-width:700px){#village-places{left:14px;top:115px}}
/* Transparent controls float directly over the original scene. */
.game-modes{width:min(640px,calc(100vw - 24px));max-width:none;flex-wrap:nowrap;background:transparent;border-color:transparent;box-shadow:none;backdrop-filter:none;color:#eee9dc;text-shadow:0 1px 5px #101710}
.game-modes .temple-menu-action,#temple-local .temple-bottom-menu>.temple-menu-action{display:flex;flex:1;flex-direction:row;align-items:center;justify-content:center;gap:8px;height:46px;min-width:0;border:0;background:transparent;color:inherit;padding:0 8px;cursor:pointer;border-radius:6px;font:inherit;text-shadow:inherit}
.game-modes .temple-menu-action:hover,#temple-local .temple-bottom-menu>.temple-menu-action:hover{background:#e8d6af10}
.game-modes .temple-menu-action svg{width:19px;height:19px;stroke-width:1.5}
.game-modes .temple-menu-action span{font-size:13px;line-height:1.3;white-space:nowrap}
.game-modes .temple-menu-action:focus-visible{outline:2px solid #b4a57e;outline-offset:1px}
.temple-bottom-menu{position:absolute;bottom:max(22px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;gap:3px;padding:5px;border-radius:11px;background:transparent;border:0;box-shadow:none;color:#eee9dc;text-shadow:0 1px 5px #101710;pointer-events:auto}
.temple-bottom-menu[hidden]{display:none}
@media(max-width:700px){.game-modes{width:calc(100vw - 20px);gap:1px;padding:4px}.game-modes>button{padding:0 3px;gap:4px;font-size:11px}.game-modes>button kbd{display:none}.game-modes .temple-menu-action{padding:0 3px;gap:4px}.game-modes .temple-menu-action span{font-size:11px}}

/* Title, map and language share one transparent top row. */
#temple-local .temple-toolbar{top:max(8px,env(safe-area-inset-top));left:max(14px,env(safe-area-inset-left));right:170px;max-width:none;display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:16px;background:transparent;overflow-x:auto;scrollbar-width:none}
#temple-local .temple-toolbar::-webkit-scrollbar{display:none}
#temple-local .temple-toolbar>*{flex-shrink:0}
#temple-local .temple-wordmark,#temple-local #village-places,#temple-local #sansa-language-switcher{position:static;transform:none;min-height:42px;width:auto;height:auto;margin:0;padding:5px 0;border:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;color:#f4ecda;text-shadow:0 1px 3px #101710,0 0 8px #101710b3;white-space:nowrap}
#temple-local .temple-wordmark{gap:8px;letter-spacing:.03em}
#temple-local .temple-wordmark>svg{width:22px!important;height:22px!important;color:#e5d4b0}
#temple-local .temple-wordmark span{font-size:16px;font-weight:500}
#temple-local #village-places{display:inline-flex;align-items:center;gap:7px;font-size:13px}
#temple-local #village-places[hidden]{display:none!important}
#temple-local #sansa-language-switcher{display:flex;gap:5px;max-width:none;font-size:13px;pointer-events:auto}
#temple-local #sansa-language-switcher select{max-width:125px;text-shadow:0 1px 3px #101710;background:transparent;color:#f4ecda}
#temple-local #village-places:focus-visible{outline:2px solid #d8c6a0;outline-offset:-2px}
@media(max-width:900px){#temple-local .temple-toolbar{right:12px;gap:12px}#temple-local .temple-wordmark span{font-size:13px}#temple-local #village-places,#temple-local #sansa-language-switcher{font-size:12px}}
#temple-local .temple-explore-label{display:none}
#temple-local #village-places{width:36px;justify-content:center}

/* The original right-hand tools retain their own fixed top-right space. */
.game-header .game-tools{position:fixed;top:max(8px,env(safe-area-inset-top));right:max(14px,env(safe-area-inset-right));z-index:130;flex-shrink:0;pointer-events:auto}
#temple-local .temple-toolbar{right:calc(var(--temple-tools-width,190px) + 30px)}
#temple-local .temple-toolbar>.temple-profile{background:transparent;border:0;color:#f4ecda;text-shadow:0 1px 3px #101710,0 0 8px #101710b3;padding:5px 0;font-size:13px;white-space:nowrap;min-height:42px}
#temple-local .temple-name-error{color:#9c4c36;font-size:13px}

#settings-dialog .temple-profile{display:block;width:100%;margin:0 0 18px;padding:12px 14px;border:1px solid #aeb49e55;border-radius:8px;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}
#settings-dialog .temple-profile:hover{background:#63725912}
#settings-dialog .temple-profile:focus-visible{outline:2px solid #a5824f;outline-offset:3px}

/* Retired cafe reward progress. */
#game-bow25,#game-bow25-progress{display:none!important}
/* Match the right tools' clear rounded glass frame. */
#temple-local .temple-toolbar{width:max-content;max-width:calc(100vw - var(--temple-tools-width,190px) - 44px);min-height:50px;padding:3px 14px;gap:14px;border:1px solid #f4ecda38;border-radius:999px;background:#f4ecda08;box-shadow:inset 0 1px 0 #ffffff24,0 3px 15px #10150e12;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#f4ecda}
#temple-local .temple-toolbar .temple-wordmark,#temple-local .temple-toolbar #village-places,#temple-local .temple-toolbar #sansa-language-switcher{min-height:42px;border-radius:999px;text-shadow:0 1px 4px #10171088}
#temple-local .temple-toolbar #village-places:hover,#temple-local .temple-toolbar #sansa-language-switcher:hover{background:#ffffff12}
@media(max-width:700px){#temple-local .temple-toolbar{padding:3px 10px;gap:9px}}
.temple-payment-list{display:grid;gap:14px;margin:22px 0 4px}.temple-payment-card{padding:18px;border:1px solid var(--line);border-radius:12px;background:#ffffff40}.temple-payment-card h3{margin:0 0 8px;font-size:19px!important}.temple-payment-account{font-size:13px;overflow-wrap:anywhere}.temple-payment-link{display:flex;justify-content:center;align-items:center;min-height:44px;padding:10px 14px;border-radius:9px;background:var(--olive);color:#fffdf3;text-decoration:none}.temple-payment-link:hover{background:#52654d}.temple-payment-link:focus-visible{outline:2px solid #a5824f;outline-offset:3px}.temple-payment-pending{color:var(--muted);font-size:13px}#temple-local .temple-payment-card button:disabled{cursor:not-allowed;opacity:.5;background:transparent}
.temple-payment-qr{display:block;width:240px;max-width:100%;height:auto;margin:16px auto;background:white;border-radius:8px}.temple-payment-network{display:block;font-size:13px;line-height:1.6;margin-top:4px;color:var(--olive)}.temple-network-note{font-size:12px;color:#786748;line-height:1.7}.temple-payment-card .temple-link{font-family:ui-monospace,monospace;font-size:11px!important}

.temple-support-purpose{font-size:12px;color:var(--muted);line-height:1.8;margin-top:20px!important}

.temple-support-thanks{text-align:center;font-size:14px;line-height:1.8;margin:14px 0!important}.temple-payment-card .temple-support-purpose{text-align:center;margin:10px 0 18px!important}
#settings-dialog .temple-install{display:block;width:100%;margin:0 0 18px;padding:12px 14px;border:1px solid #aeb49e55;border-radius:8px;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}#settings-dialog .temple-install:hover{background:#63725912}#settings-dialog .temple-install:disabled{opacity:.65;cursor:default}#settings-dialog .temple-install:focus-visible{outline:2px solid #a5824f;outline-offset:3px}.temple-pwa-steps{padding-left:24px;line-height:1.9}.temple-pwa-steps li{margin:14px 0}.temple-pwa-steps svg{display:inline-block;vertical-align:middle;margin-right:5px;width:19px!important;height:19px!important}.temple-pwa-note{font-size:13px;color:var(--muted)}.temple-pwa-help{color:var(--olive);font-size:13px;text-underline-offset:3px}
.temple-social-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0 10px}#temple-local .temple-social-link{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:56px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:#ffffff40;text-decoration:none;font-size:13px;text-align:left;line-height:1.4}#temple-local .temple-social-link:hover{background:#e9ecdf}.temple-social-link>b{display:grid;place-items:center;width:28px;height:28px;font-size:22px;font-weight:600;color:var(--olive)}.temple-social-link small{font-size:10px!important}.temple-social-note{font-size:11px;color:var(--muted);line-height:1.7}#temple-local .temple-social-link:focus-visible{outline:2px solid #a5824f;outline-offset:3px}
.temple-social-link[data-share-platform="facebook"] b{color:#1877f2}.temple-social-link[data-share-platform="telegram"] b{color:#229ed9}.temple-social-link[data-share-platform="whatsapp"] b{color:#19864c}.temple-social-link[data-share-platform="x"] b{color:#20251f}.temple-social-link[data-local-action="share-messenger"] b{color:#0078ff}.temple-social-link[data-local-action="share-instagram"] b{color:#bd397e}
/* Installation landing panel */
.temple-local-dialog:has(.temple-install-page){width:560px;max-width:calc(100vw - 24px);padding:26px!important;border-radius:28px;background:#f7f5ed;color:#38473f}
.temple-install-page{text-align:center}.temple-install-hero{position:relative;padding:20px 12px 25px;background:radial-gradient(ellipse at 50% 70%,#dce5d6,transparent 70%);border-bottom:1px solid #65775f20}.temple-install-kicker{display:block;letter-spacing:.25em;font-size:10px;color:#8c805c;margin-bottom:20px}.temple-install-icon{display:block;margin:auto;border-radius:24px;box-shadow:0 12px 28px #293d2828;border:1px solid #d6c79980}.temple-install-hero h2{margin:18px 0 6px!important;font-size:26px!important;letter-spacing:.1em!important}.temple-install-tagline{font-size:15px!important;color:#65715f}.temple-install-badge{display:inline-block;padding:5px 12px;border:1px solid #8d9c7338;border-radius:30px;color:#798264;font-size:11px}.temple-install-benefits{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0;text-align:left}.temple-install-benefits>div{display:grid;grid-template-columns:28px 1fr;gap:5px 8px}.temple-install-benefits svg{grid-row:1/3;color:#a28b56}.temple-install-benefits strong{font-size:14px;font-weight:600}.temple-install-benefits p{margin:0!important;font-size:12px;color:#7e8576;line-height:1.7}#temple-local .temple-install-cta{min-height:52px;background:#3f5547;color:#fffbed;border:0;border-radius:16px;font-size:16px;box-shadow:0 7px 18px #3f554722}#temple-local .temple-install-cta:hover{background:#304939}.temple-install-status{font-size:13px;color:#647856;min-height:1em}.temple-install-guide{padding:20px;border:1px solid #8b96742a;border-radius:18px;background:#fffdf66e;text-align:left}.temple-install-guide h3{margin:0!important;display:flex;justify-content:space-between;gap:12px;font-weight:600!important}.temple-install-guide h3>span{font-size:11px;font-weight:400;color:#8b907e}.temple-install-guide .temple-pwa-steps{list-style:none;padding:0;margin-bottom:6px}.temple-install-guide li{display:flex;align-items:flex-start;gap:12px;margin:18px 0;font-size:13px;line-height:1.7}.temple-install-guide li>b{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:50%;background:#e7ebdf;color:#7a825f;font:12px Georgia,serif}.temple-install-network{font-size:11px;color:#8c907f;margin-top:20px!important}@media(max-width:480px){.temple-local-dialog:has(.temple-install-page){padding:22px 18px!important}.temple-install-benefits{gap:10px}.temple-install-guide{padding:16px}.temple-install-hero h2{font-size:23px!important}}
#temple-local .temple-social-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%}#temple-local .temple-social-grid>a,#temple-local .temple-social-grid>button{display:flex!important;align-items:center;justify-content:flex-start;min-width:0;width:100%;min-height:76px;padding:14px;border:1px solid #8c997c40;border-radius:16px;background:#fffdf6a8;color:#424c40;text-decoration:none!important;gap:12px;font:500 14px/1.4 system-ui,sans-serif;box-sizing:border-box}#temple-local .temple-social-grid>a:hover,#temple-local .temple-social-grid>button:hover{background:#e8eddf;border-color:#8c997c80}#temple-local .temple-social-link>b{width:36px;height:36px;flex:0 0 36px;border-radius:11px;background:#7e8d6e10;display:grid;place-items:center}#temple-local .temple-social-link>b svg{width:24px;height:24px}#temple-local .temple-social-link>span{min-width:0;overflow-wrap:anywhere}#temple-local .temple-social-link small{margin-top:3px;font-weight:400}@media(max-width:360px){#temple-local .temple-social-grid{gap:8px}#temple-local .temple-social-grid>a,#temple-local .temple-social-grid>button{padding:10px;gap:8px;font-size:12px}}
/* Gold capsule install controls, matching the temple action buttons. */
#settings-dialog button.temple-install{display:flex;align-items:center;justify-content:center;width:auto;min-width:144px;min-height:48px;margin:4px 0 20px;padding:12px 26px;border:1px solid #c1ae7866;border-radius:999px;background:#8c7b4d;color:#fffbed;font:600 15px/1.4 system-ui,-apple-system,"PingFang SC",sans-serif;box-shadow:inset 0 1px 0 #eadbad30;cursor:pointer;text-align:center}
#settings-dialog button.temple-install:hover{background:#9b8957}#settings-dialog button.temple-install:disabled{opacity:.7}
#temple-local button.temple-install-cta{display:flex;width:max-content;max-width:100%;min-width:144px;min-height:54px;margin:22px auto 12px;padding:14px 30px;border:1px solid #c1ae7866;border-radius:999px;background:#8c7b4d;color:#fffbed;font-weight:600;box-shadow:inset 0 1px 0 #eadbad30,0 5px 14px #6d5e3614}
#temple-local button.temple-install-cta:hover{background:#9b8957}
/* All five actions share equal space, including the liquid navigation wrapper. */
.sansa-game .game-modes .liquid-nav-source{display:flex;gap:2px;width:100%}.sansa-game .game-modes .liquid-nav-source>button{flex:1 1 0;min-width:0;padding-inline:3px;box-sizing:border-box}.sansa-game .game-modes .liquid-nav-source>button span{font-size:12px;line-height:1.3;white-space:nowrap}.sansa-game .game-modes .liquid-nav-source>button kbd{display:none}@media(max-width:380px){.sansa-game .game-modes .liquid-nav-source>button span{font-size:11px}}
#temple-local .temple-address-explorer{display:block;margin:12px 0;padding:12px;border:1px solid var(--line);border-radius:10px;background:#ffffff40;color:#576f52;font:13px/1.7 ui-monospace,monospace;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}#temple-local .temple-address-explorer:hover{background:#e9ecdf}#temple-local .temple-address-explorer:focus-visible{outline:2px solid #a5824f;outline-offset:3px}
/* Language follows browser/saved preference; hide the top language control. */
#sansa-language-switcher{display:none!important}
#settings-dialog #sansa-language-switcher{display:flex!important;position:static!important;inset:auto!important;transform:none!important;align-items:center;gap:12px;width:100%;max-width:none;height:auto;min-height:48px;margin:0 0 22px;padding:10px 14px;border:1px solid #aeb49e55;border-radius:12px;background:transparent;color:inherit;box-shadow:none;text-shadow:none;pointer-events:auto;backdrop-filter:none}#settings-dialog #sansa-language-switcher select{position:static;flex:1;min-width:0;max-width:none;width:auto;background:transparent;border:0;color:inherit;font:inherit;padding:6px 4px;text-shadow:none;cursor:pointer}#settings-dialog #sansa-language-switcher select:focus-visible{outline:2px solid #a5824f;outline-offset:3px}
