/* V80.1: only Explore, temple and image collection surfaces. */
.home-explore{margin-top:34px;--explore-accent:#906420}.explore-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.explore-intro h2{margin:0;font:750 28px/1.3 Library,system-ui,sans-serif;letter-spacing:-.4px}.explore-intro p{margin:6px 0 0;font-size:14px;color:var(--muted)}.explore-lotus{opacity:.55;flex:none}.explore-lotus .lotus-icon{width:85px;height:65px}.explore-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:0 0 14px}.explore-heading h3{margin:0;font:650 18px/1.4 Library,system-ui,sans-serif}.explore-heading>a{display:flex;align-items:center;gap:5px;flex:none;font-size:13px;min-height:40px;color:var(--explore-accent);text-decoration:none}.explore-heading>a span{font-size:24px}.explore-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:30px}.explore-layout>*{min-width:0}.explore-photo-mosaic{height:480px;position:relative;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(6,1fr);gap:8px;overflow:hidden;border-radius:18px}.explore-photo-mosaic>a:not(.explore-gallery-more){display:block;overflow:hidden;border-radius:12px;grid-row:span 2;background:#eee8da}.explore-photo-mosaic>a:nth-child(1),.explore-photo-mosaic>a:nth-child(4){grid-row:span 3}.explore-photo-mosaic>a:nth-child(5){grid-row:span 1}.explore-photo-mosaic img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .3s}.explore-photo-mosaic>a:hover img{transform:scale(1.025)}.explore-photo-mosaic:after{content:'';position:absolute;inset:auto 0 0;height:90px;background:linear-gradient(transparent,var(--bg));pointer-events:none}.explore-photo-mosaic .explore-gallery-more{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:7px;white-space:nowrap;min-height:40px;padding:8px 17px;background:#fffdf5f5;color:#533b1d;border:1px solid #ded1b4;border-radius:30px;text-decoration:none;z-index:1;font-size:13px;box-shadow:0 3px 12px #52391312}.explore-gallery-more svg{width:17px;height:17px}.explore-scene-link{display:flex;align-items:center;gap:9px;min-height:44px;margin-top:10px;color:var(--explore-accent);text-decoration:none;font-size:13px}.explore-scene-link svg{width:19px;height:19px}.explore-scene-link>span{margin-left:auto;font-size:22px}.explore-collections{display:flex;flex-direction:column;gap:26px}.home-explore .home-reference-library{margin:0}.home-explore .ref-home-strip{gap:10px;scrollbar-width:thin;scrollbar-color:#ccb47c transparent;padding-bottom:9px}.home-explore .ref-home-strip>.ref-portrait-card{flex-basis:130px;background:transparent;border:0}.home-explore .ref-home-strip h4{font:600 13px/1.45 Library,system-ui,sans-serif;text-align:center;margin:8px 2px 0;min-height:40px}.explore-temple-strip{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:10px;scrollbar-width:thin;scrollbar-color:#ccb47c transparent}.explore-temple-card{flex:0 0 188px;min-width:0;scroll-snap-align:start;color:var(--ink);text-decoration:none}.explore-temple-card>div{position:relative;border-radius:13px;overflow:hidden;background:#eee8da;aspect-ratio:1.5}.explore-temple-card img{width:100%;height:100%;object-fit:cover;display:block}.explore-temple-card>div>span{position:absolute;left:8px;top:8px;padding:3px 8px;border-radius:20px;background:#fff3d4e8;color:#704a10;font-size:10px}.explore-temple-card h4{font:650 15px/1.4 Library,system-ui,sans-serif;margin:8px 0 4px}.explore-temple-card p{display:flex;align-items:center;gap:4px;color:var(--muted);font-size:12px;margin:0}.explore-temple-card svg{width:13px;height:13px}.explore-find-temple{display:flex;align-items:center;justify-content:center;gap:9px;color:var(--explore-accent);text-decoration:none;border:1px solid #dbc89e;border-radius:12px;min-height:44px;font-size:14px;margin-top:8px;background:#fff4d940}.explore-find-temple svg{width:18px;height:18px}.explore-prayers,.explore-reading{margin-top:28px}.explore-prayer-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.explore-prayer-cards>a{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:19px;overflow:hidden;text-decoration:none;color:var(--ink);min-width:0}.explore-prayer-cards>a>span:first-child{font-size:10px;letter-spacing:1.2px;color:var(--explore-accent)}.explore-prayer-cards h4{font:650 17px/1.5 Library,system-ui,sans-serif;margin:6px 0}.explore-prayer-cards p{font-size:14px;line-height:1.65;margin:0;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:94%}.explore-prayer-lotus{position:absolute;right:-7px;bottom:-6px;opacity:.15;pointer-events:none}.explore-prayer-lotus .lotus-icon{width:85px;height:65px}.explore-article-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.explore-article{display:flex;align-items:flex-start;gap:12px;text-decoration:none;color:var(--ink);min-width:0;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:15px}.explore-article>img{flex:none;width:64px;height:76px;object-fit:cover;border-radius:9px}.explore-article>div{min-width:0;flex:1}.explore-article h4{font:650 15px/1.45 Library,system-ui,sans-serif;margin:0 0 5px}.explore-article p{font-size:12px;line-height:1.5;color:var(--muted);margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.explore-article>span{font-size:21px;color:var(--explore-accent)}
/* Temple sheet: calm photo header, compact facts, clear scanning hierarchy. */
#dialog.temple-dialog{background:#f5f2ed;width:760px;padding-bottom:0;isolation:isolate}#dialog.temple-dialog>header{position:sticky;top:0;height:0;min-height:0;padding:0;overflow:visible;background:transparent;z-index:6;border:0}#dialog.temple-dialog>header h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#dialog.temple-dialog>header button{position:absolute;right:12px;top:12px;background:#fffdf5ed;border-radius:50%;box-shadow:0 2px 9px #0002;color:#382b18;width:44px;height:44px;padding:0;border:1px solid #fff8}.temple-hero{height:370px;position:relative;overflow:hidden;border-radius:0;background:#d1c2a4}.temple-carousel,.temple-slide{height:100%;aspect-ratio:auto}.temple-slide img{object-fit:cover}.temple-hero:after{content:'';position:absolute;inset:35% 0 0;pointer-events:none;background:linear-gradient(transparent,#171208c9)}.temple-hero .temple-title{position:absolute;left:24px;right:70px;bottom:44px;z-index:2;margin:0;pointer-events:none;color:white}.temple-title h1{font:750 29px/1.3 Library,system-ui,sans-serif;color:#fff;margin:8px 0 5px;text-shadow:0 2px 12px #0006}.temple-title p{color:#fff9ef;font-size:14px;line-height:1.45;margin:4px 0}.temple-title .temple-region{background:#fff0cfdf;color:#684312}.temple-title .temple-place svg{width:15px;height:15px}.photo-prev,.photo-next{top:38%;z-index:3;background:#fffdf1de;width:40px;min-height:40px;height:40px}.photo-dots{z-index:3;bottom:8px;background:transparent}.photo-dots button{width:28px;min-height:36px}.photo-dots button:after{width:7px;height:7px;box-shadow:0 1px 4px #0005}.temple-photo-count{position:absolute;bottom:15px;right:18px;z-index:3;color:white;background:#0005;border-radius:20px;padding:4px 8px;font-size:12px}.temple-jump-links{display:flex;gap:8px;overflow-x:auto;padding:14px 18px 0;scrollbar-width:none}.temple-jump-links button{flex:1;white-space:nowrap;padding:7px 12px;min-height:40px;border-radius:20px;background:#fffdf7;border:1px solid #e6dcc7;color:#76511c;font-size:13px}.temple-jump-links button:hover{background:#f8e6bb}.temple-detail-body{padding:18px 20px 24px}.temple-section{border:0;padding:21px 23px;border-radius:20px;background:#fffefd;box-shadow:0 4px 18px #47320e05;font:400 16px/1.75 Library,system-ui,sans-serif;margin:0 0 16px;scroll-margin-top:66px}.temple-section h2{display:flex;align-items:center;gap:9px;font:700 18px/1.4 Library,system-ui,sans-serif;margin:0 0 13px}.temple-section-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:28px;height:28px;color:#9d6e27}.temple-section-icon svg{width:24px;height:26px}.temple-section p{margin:0 0 12px}.temple-facts>div{grid-template-columns:110px minmax(0,1fr);gap:14px;padding:8px 0;border:0}.temple-facts dt,.temple-facts dd{font-size:15px;line-height:1.6}.temple-facts dd{font-weight:500}.temple-visit-note{display:flex;gap:9px;background:#faf5e9;border-radius:12px;padding:12px;margin-top:16px;color:#6b5638;font-size:14px;line-height:1.65}.temple-visit-note svg{width:17px;height:17px;margin-top:4px;flex:none}.temple-visit-note p{margin:0}.temple-highlights{padding:0!important;list-style:none}.temple-highlights li{display:flex;gap:9px;align-items:flex-start;padding:5px 0}.temple-highlights li>span{display:flex;align-items:center;justify-content:center;flex:none;width:19px;height:19px;background:#b9893d;color:white;border-radius:50%;font-size:12px;font-weight:700;margin-top:4px}.temple-festivals article{border-bottom:1px solid #eae5dc;padding:0 0 13px;margin:0 0 13px}.temple-festivals h3{font:650 16px/1.5 Library,system-ui,sans-serif;margin:0}.temple-festivals .temple-festival-date{font-size:14px;color:#916218;margin:2px 0 4px}.temple-detail-actions{margin:20px 0 10px}.temple-detail-actions>.primary{background:linear-gradient(110deg,#b38538,#71501e);border:0;font-size:16px;min-height:50px;border-radius:14px}.temple-detail-actions>button{border-radius:14px;background:#fffdf7}.temple-sources{padding:0 5px}.temple-sources summary{font-size:12px}.temple-dialog[open]{animation:temple-reveal .23s ease-out}@keyframes temple-reveal{from{opacity:.7;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
.space-gallery{display:block;columns:3;column-gap:16px}.space-image-card{break-inside:avoid;margin:0 0 16px}.space-image-open img{height:auto;max-height:440px;object-fit:cover}.space-image-card h3{font-size:14px}.space-image-card>div{padding:12px}.space-image-card .actions{flex-wrap:wrap}.space-image-card .actions button{min-height:40px}.temple-card-photo .temple-region{right:auto;left:9px;background:#a67a32e8;color:white}.temple-card{transition:transform .2s,box-shadow .2s}.temple-card:hover{transform:translateY(-2px)}
body.dark .home-explore{--explore-accent:#e9c379}body.dark #dialog.temple-dialog{background:#22231f}body.dark .temple-section{background:#2c2d27}body.dark .temple-visit-note{background:#353123;color:#efddbe}body.dark .temple-jump-links button,body.dark .temple-detail-actions>button{background:#353123;color:#f0d19a;border-color:#655233}body.dark .temple-festival-date{color:#e9c379}body.dark .explore-find-temple{background:#473b2540;border-color:#6f5b36}body.dark .explore-photo-mosaic:after{background:linear-gradient(transparent,var(--bg))}
@media(max-width:1000px){.explore-article-list{grid-template-columns:1fr}.explore-article>img{width:76px;height:70px}.explore-article p{-webkit-line-clamp:2}.explore-layout{gap:22px}.explore-photo-mosaic{height:460px}}
@media(max-width:700px){.home-explore{margin-top:28px}.explore-intro{margin-bottom:18px}.explore-intro h2{font-size:24px}.explore-intro p{font-size:12px;max-width:270px}.explore-lotus .lotus-icon{width:65px;height:52px}.explore-layout{display:block}.explore-heading{margin-bottom:10px}.explore-heading h3{font-size:17px}.explore-heading>a{font-size:12px}.explore-photo-mosaic{height:360px;gap:7px;border-radius:14px}.explore-collections{gap:22px;margin-top:23px}.home-explore .ref-home-strip>.ref-portrait-card{flex-basis:122px}.home-explore .ref-home-strip h4{font-size:12px}.explore-temple-card{flex-basis:172px}.explore-temple-card h4{font-size:14px}.explore-prayer-cards{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:9px;scrollbar-width:thin}.explore-prayer-cards>a{flex:0 0 70%;scroll-snap-align:start;padding:16px}.explore-prayer-cards h4{font-size:16px}.explore-prayer-cards p{font-size:13px}.explore-prayers,.explore-reading{margin-top:24px}.explore-article{padding:12px;gap:11px}.explore-article h4{font-size:15px}.space-gallery{columns:2;column-gap:10px}.space-image-card{margin-bottom:10px}.space-image-card>div{padding:9px}.space-image-card .actions button{padding:5px 7px}.space-image-card h3{font-size:13px}.space-image-open img{height:auto;max-height:320px}.temple-hero{height:300px}.temple-hero .temple-title{left:18px;right:48px;bottom:42px}.temple-title h1{font-size:25px}.temple-title p{font-size:13px}.temple-jump-links{gap:6px;padding:12px 14px 0}.temple-jump-links button{font-size:12px;padding:6px 9px}.temple-detail-body{padding:14px 14px calc(22px + env(safe-area-inset-bottom))}.temple-section{padding:18px;border-radius:19px;font-size:16px;line-height:1.75;margin-bottom:14px}.temple-section h2{font-size:17px;gap:8px}.temple-facts>div{grid-template-columns:95px minmax(0,1fr);gap:12px;padding:7px 0}.temple-facts dt,.temple-facts dd{font-size:14px}.temple-visit-note{font-size:13px;padding:11px}.temple-detail-actions>button{font-size:0;min-width:50px;padding:12px}.temple-detail-actions>button svg{width:20px;height:20px}.temple-detail-actions>.primary{font-size:15px;min-width:0}.photo-prev,.photo-next{width:35px;height:35px;min-height:35px;font-size:25px}.temple-card h2{font-size:15px}.temple-card-copy{padding:10px}.temple-card p{font-size:12px}.temple-card small{font-size:11px}}
@media(max-width:360px){.explore-intro p{max-width:210px}.explore-heading h3{font-size:15px}.explore-heading>a{font-size:11px}.explore-photo-mosaic{height:305px}.temple-hero{height:270px}.temple-title h1{font-size:23px}.temple-section{padding:15px}.temple-facts>div{grid-template-columns:86px minmax(0,1fr);gap:8px}.temple-detail-actions{flex-wrap:nowrap}.temple-detail-actions>.primary{min-width:0}.temple-jump-links{gap:4px}.temple-jump-links button{padding:6px 8px}}
@media(prefers-reduced-motion:reduce){.temple-dialog[open]{animation:none}.temple-card,.explore-photo-mosaic img{transition:none}.temple-card:hover,.explore-photo-mosaic>a:hover img{transform:none}}

/* Facts remain legible as short labelled cards; the full address spans both columns. */
.temple-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;margin:0}.temple-facts>div{display:block;padding:0;min-width:0}.temple-facts dt{font-size:12px;color:var(--muted);font-weight:400;margin:0 0 4px}.temple-facts dd{margin:0;overflow-wrap:anywhere}.temple-facts .temple-fact-address{grid-column:1/-1;border-top:1px solid var(--line);padding-top:13px}.temple-facts dd{font-size:14px;line-height:1.6}.temple-festivals p:last-child{margin-bottom:0}
