.temple-etiquette{position:absolute;z-index:5;left:24px;bottom:96px;width:320px;max-width:calc(100% - 120px);color:#f5edda;background:#213b32f5;border:1px solid #bba87b;border-radius:13px;box-shadow:0 8px 30px #10241d26;font:13px/1.55 system-ui,sans-serif;overflow:hidden}
.temple-etiquette summary{padding:12px 14px;cursor:pointer;font-weight:650;color:#f5e4b8;line-height:1.4}
.temple-etiquette .te-body{padding:0 14px 14px;max-height:min(340px,calc(100dvh - 300px));overflow-y:auto;overscroll-behavior:contain}
.temple-etiquette p{margin:0 0 10px}.temple-etiquette ol{margin:0 0 10px;padding-left:22px}.temple-etiquette li{margin:6px 0}.temple-etiquette .te-note{font-size:12px;color:#d1dacd}
.temple-etiquette button{font:inherit;padding:9px 12px;min-height:40px;border:1px solid #c5b382;border-radius:8px;background:#f2e8cf;color:#203e32;cursor:pointer}
.temple-etiquette :is(summary,button):focus-visible{outline:3px solid #f6d477;outline-offset:-3px}
.temple-etiquette.te-inline{position:static;z-index:auto;width:auto;max-width:none;margin:12px 0 18px;box-shadow:none}.temple-etiquette.te-inline .te-body{max-height:none}
.quiet-view .temple-etiquette{visibility:hidden;pointer-events:none}
:is(.ww,.hs):is([data-ritual="bow"],[data-ritual="incense"])>.temple-etiquette{visibility:hidden;pointer-events:none}
body:has(:is(.ww,.hs):is([data-ritual="bow"],[data-ritual="incense"]))>.first-walk{display:none}
body:has(dialog[open]) :is(.ww,.hs)>.temple-etiquette{visibility:hidden;pointer-events:none}
:is(.ww,.hs):has(>.temple-etiquette[open]) :is(.ww-hint,.hs-hint){display:none}
@media(max-width:700px){.temple-etiquette{left:12px;bottom:150px;width:260px;font-size:12px;max-width:calc(100% - 100px)}.temple-etiquette summary{padding:10px 12px}.temple-etiquette .te-body{padding:0 12px 12px;max-height:310px}body:has(:is(.ww,.hs)>.temple-etiquette[open]) .first-walk:not(.fw-in-desk){display:none}}
@media(max-height:540px){.temple-etiquette{bottom:70px}.temple-etiquette .te-body{max-height:145px}}

body:has(:is(.ww,.hs)>.temple-etiquette[open]) .first-walk:not(.fw-in-desk){display:none}

@media(min-width:701px){.ww:has(>.temple-etiquette) .ww-actions{right:105px}}

@media(max-width:700px) and (min-height:501px){
 .ww>.temple-etiquette{top:max(195px,calc(env(safe-area-inset-top) + 185px));bottom:auto}
 .ww>.temple-etiquette .te-body{max-height:clamp(60px,calc(100dvh - 454px),240px)}
}
