/* Comfortable reading and touch targets throughout the temple. */
html{font-size:20px;scroll-padding-top:150px;-webkit-text-size-adjust:100%}
body{font-size:22px;line-height:1.8}
header{height:auto;min-height:88px;gap:12px 22px;padding:12px 5%;flex-wrap:wrap;background:#130e09}
.brand,.brand strong{font-size:30px;letter-spacing:3px}
.brand small{font-size:16px;line-height:1.5;letter-spacing:1px}
header>a:not(.brand),header nav,header nav a{font-size:20px;line-height:1.5}
header>a:not(.brand),header nav a{display:inline-flex;align-items:center;min-height:48px}
header nav{gap:8px 22px;flex-wrap:wrap}
button,input,select,textarea{font-family:inherit}
.button,.btn,.hero .actions .btn,.walk .button,.record .button,.menu,.close,.map-top button,.worship-panel .btn.primary{font-size:22px;line-height:1.5;min-height:56px;padding:14px 20px;white-space:normal}
.button,.btn{max-width:100%;text-align:center;overflow-wrap:anywhere}
input,select,textarea,label,legend,.checks label,.consent,.wish-form label{font-size:22px;line-height:1.8}
input,select,textarea{min-height:56px;max-width:100%}
input[type=checkbox],input[type=radio]{width:28px;height:28px;min-height:28px;flex-shrink:0}
.heading p,.hero p,.path p,.service-copy p,.feature-pair p,.section-title p,.desc,.product p,.product strong,.memberships p,.record p,.notice,.quote p,.quote-line,summary,table,.ritual-choice span,.culture p,.notice p,.bead-center span,.worship-panel .desc,.worship-panel .status{font-size:22px;line-height:1.8}
.eyebrow,.caption,.hall-link small,.hall-link span,.outer span,.product small,.member-status,.path small,.deity-card small,.deity-card span,.ritual-grid .panel .label,.map-help,.map-caption,.map-hall small,.map-hall span,.wish small,.empty,.hint,.status,footer,footer p{font-size:18px;line-height:1.8;letter-spacing:1px}
.hall-content p{color:#ded2be}
.hall-content .caption{color:#cbbba0}
.hall-content #hallDesc,.hall-content #hallStatus{font-size:22px;line-height:1.8}
.hall-content #hallLine{font-size:30px;line-height:1.6;letter-spacing:2px}
.walk>a{font-size:22px;line-height:1.6;min-height:56px;display:flex;align-items:center;justify-content:center}
.hall-link strong{font-size:28px;line-height:1.5;letter-spacing:1px}
.map-hall strong,.map-courts h3{font-size:22px;line-height:1.5}
.map-outside a,.pill,.member-link,.announcement{font-size:20px;line-height:1.6}
.journal-art{font-size:clamp(30px,4vw,38px);line-height:1.8;letter-spacing:4px;padding:20px;color:#6b4826}
.journal-art span{display:block;white-space:nowrap}
.whole-wall-scene .wall-cabinet .wall-title{font-size:30px;line-height:1.6;letter-spacing:3px}
.wall-cabinet>p,.wall-level h3{font-size:22px;line-height:1.6;letter-spacing:1px}
.personal-plaque span{font-size:20px}
.scene-incense-toggle{position:absolute;right:16px;bottom:16px;z-index:4;box-shadow:0 3px 15px #0006}
.hall-photo{scroll-margin-top:10px}
:focus-visible{outline:3px solid #d18c36;outline-offset:4px}
@media(max-width:800px){
 html{scroll-padding-top:190px}
 header{gap:8px 12px;padding:10px 5%}
 header .brand{font-size:28px}
 header nav{gap:4px 18px}
 header #nav{top:100%}
 .brand small{max-width:none;font-size:16px}
 .section{padding:36px 5%}
 .courts{grid-template-columns:1fr;gap:10px}
 .axis{grid-column:1;grid-row:1}
 .axis>div{grid-template-columns:1fr}
 .axis .hall-link{padding:20px}
 .axis .hall-link strong,.hall-link strong{font-size:28px}
 .hall-link span{font-size:20px}
 .hall-content .actions{display:grid;grid-template-columns:1fr;gap:12px}
 .hall-content .actions .button{width:100%;margin:0}
 .walk{display:grid;grid-template-columns:1fr 1fr;gap:14px}
 .walk>a{grid-column:1/-1;grid-row:2}
 .walk .button{width:100%;padding:12px 10px}
 .whole-wall-scene .wall-cabinet .wall-title{font-size:28px}
 .wall-cabinet>p,.wall-level h3{font-size:22px}
 .scene-incense-toggle{font-size:20px;min-height:50px;padding:10px 16px;right:10px;bottom:10px}
 .favorites,.upper,.outer,.products{grid-template-columns:1fr}
 .map-courts{grid-template-columns:1fr;gap:18px}
 .map-axis{grid-row:1}
 .map-paper{padding:16px}
 .map-hall strong{font-size:25px}
 .map-hall small,.map-hall span{font-size:18px}
 .map-upper .map-hall,.map-extension .map-hall{flex-basis:100%}
 .map-rear{max-width:none}
 .map-entry{font-size:20px;min-height:52px}
 .ritual-choices{grid-template-columns:1fr}
 .product small{letter-spacing:1px}
 .wish-form{grid-template-columns:1fr}
}
@media(max-width:360px){
 header .brand{flex-basis:100%}
 .journal-art{font-size:30px;letter-spacing:2px}
 .return-quantity{grid-template-columns:50px minmax(0,1fr) 50px;gap:6px}
}
/* Centre both homepage actions, keeping Chinese phrases together when wrapping. */
.hero .actions{align-items:stretch}
.hero .actions .btn{display:flex;align-items:center;justify-content:center;text-align:center;padding:16px 12px;min-height:96px;letter-spacing:0}
.hero-action-label{display:block;min-width:0;max-width:100%;text-align:center}
.hero-action-label>span{display:inline-block;white-space:nowrap}
