@font-face{font-family:'Ritual Brush';src:url('./assets/fonts/ritual-calligraphy.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
/* Clear, tactile entry points in the existing cinnabar / paper palette. */
.site-header{gap:22px}.site-header nav{gap:24px;margin-left:auto}.header-actions{display:flex;gap:12px;align-items:center}
.header-actions .nav-cta,.header-actions .header-lamp-link{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:12px 22px;border-radius:4px;font-size:16px;font-weight:900;letter-spacing:.08em;text-decoration:none;white-space:nowrap;transition:transform .18s,box-shadow .18s,background .18s;cursor:pointer}
.header-actions .nav-cta{color:#fff5e5;background:#a93429;border:1px solid #8e281f;box-shadow:inset 0 0 0 3px #f7d7a51c,0 3px 8px #78231e18}
.header-actions .header-lamp-link{color:#765226;background:#eee0c4;border:1px solid #af8950;box-shadow:inset 0 0 0 3px #fff8e155,0 3px 8px #785a2010}
.header-actions .nav-cta:hover{background:#87291f;transform:translateY(-2px);box-shadow:0 6px 14px #78231e25}
.header-actions .header-lamp-link:hover{background:#e5cea5;transform:translateY(-2px);box-shadow:0 6px 14px #785a2020}
.header-actions :focus-visible{outline:3px solid #95723d;outline-offset:4px}
.hero-actions .button{justify-content:center}.lamp-entry{background:#eee1c8;border-color:#af8b53;color:#715026;box-shadow:inset 0 0 0 3px #ffffff35;font-weight:900}.lamp-entry:hover{background:#e4cfa9}
.mobile-topic{display:none}.wish-options{align-items:stretch}.wish-options label{flex-basis:calc((100% - 24px)/3)}
.lamp-markers{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden}
.lamp-marker{position:absolute;transform:translate(-50%,-50%);width:34px;height:34px;background:transparent;border:0;pointer-events:auto;cursor:pointer;padding:0;border-radius:50%;color:#ffe5a9}
.marker-light{display:block;position:absolute;inset:12px;border-radius:50%;background:#fff6d2;box-shadow:0 0 7px 3px #ffcf70aa,0 0 20px 8px #e29a3c44}
.marker-light::before,.marker-light::after{content:'';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:linear-gradient(transparent,#ffe6a9,transparent);width:1px;height:29px}
.marker-light::after{transform:translate(-50%,-50%) rotate(90deg)}
.marker-name{display:none;position:absolute;top:35px;left:50%;transform:translateX(-50%);width:max-content;max-width:130px;padding:3px 9px;background:#080e19cc;border:1px solid #c89e5655;border-radius:3px;color:#f5dca6;font:600 13px/1.6 var(--serif);overflow-wrap:anywhere;box-shadow:0 0 16px #d3a14a13}
.show-names .marker-name,.lamp-marker.selected .marker-name,.lamp-marker:focus-visible .marker-name,.lamp-marker:hover .marker-name{display:block}
.lamp-marker.label-above .marker-name{top:auto;bottom:35px}.lamp-marker.selected .marker-light{box-shadow:0 0 10px 5px #ffdc8ecc,0 0 30px 12px #e7a94a55}
.lamp-marker:focus-visible{outline:1px solid #ffe6a9;outline-offset:5px}
.deity-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.deity-copy{padding:17px 13px}.deity-image{height:230px}
.story-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.story-disclosure{font-size:14px;line-height:1.8;max-width:310px}
.story-card:last-child{grid-column:auto;display:block}.story-card:last-child>p{margin-top:14px}
.belief-row>div>span:empty,.inline-link>span:empty,.deity-more>b:empty{display:none}
/* The name is live text over the photographed blank area, never baked into the art. */
.wish-paper{position:relative;width:155px;height:auto;min-height:0;aspect-ratio:864/1764;border:0;background:none;box-shadow:none;padding:0;filter:drop-shadow(0 5px 22px #c9652444)}
.wish-paper>img{display:block;width:100%;height:100%;object-fit:contain}
.wish-paper .paper-name{position:absolute;top:73%;left:14%;width:72%;margin:0;color:#25150e;font-family:'Kaiti TC','BiauKai','DFKai-SB',var(--serif);font-size:21px;font-weight:600;line-height:1.4;letter-spacing:.08em;overflow-wrap:anywhere;transform:rotate(-1.5deg);text-shadow:.2px .3px .4px #391a1677}
.wish-paper .paper-name[data-long=true]{font-size:15px;letter-spacing:0}
#result.result-single{display:block;max-width:1120px;padding-block:28px 50px}
#result.result-single .result-heading{margin-bottom:28px}
#result.result-single .result-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:55px;align-items:center;margin-bottom:35px}
#result.result-single .prayer-card{background:transparent;border:0;box-shadow:none;padding:0;min-height:0;max-width:320px;margin:0 auto;text-align:center}
.prayer-card::before,.prayer-card::after{display:none}
.personal-talisman{position:relative;width:205px;aspect-ratio:864/1764;margin:0 auto 15px;filter:drop-shadow(0 8px 10px #3b231325)}
.personal-talisman>img{display:block;width:100%;height:100%;object-fit:contain}
.personal-talisman #card-name{position:absolute;top:73%;left:14%;width:72%;margin:0;font-family:'Kaiti TC','BiauKai','DFKai-SB',var(--serif);font-size:26px;font-weight:600;line-height:1.4;color:#29160e;letter-spacing:.08em;overflow-wrap:anywhere;transform:rotate(-1.5deg)}
.personal-talisman #card-name[data-long=true]{font-size:18px;letter-spacing:0}
.prayer-card #card-wish{font-size:16px;line-height:1.9;margin:15px 0 12px;white-space:pre-line;overflow-wrap:anywhere;color:#6a5134}
.prayer-card .card-date{font-size:14px;margin:0}.prayer-card>small{font-size:12px}
#result.result-single .result-content{max-width:650px}#result.result-single .result-content>p:not(.eyebrow),#result.result-single .result-content li{font-size:17px}
#result.result-single .result-content ol{margin-top:12px;list-style:none;padding:0}
#result.result-single .result-note{font-size:14px;line-height:1.9}
#result.result-single .result-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
#result.result-single .result-buttons .button{font-size:15px;min-height:47px}
#result.result-single .reading-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:26px 0 0}
#result.result-single .reading-grid>article{display:block;min-height:0;padding:24px}
#result.result-single .reading-tile>small{font-size:14px}#result.result-single .reading-tile h3{font-size:25px}
#result.result-single .reading-tile p{font-size:16px;line-height:1.95}#result.result-single .reading-tile .reading-verse{font-size:20px!important}
#result.result-single .result-deep{display:block;margin-top:38px;padding-top:28px;border-top:1px solid var(--line)}
#result.result-single .seven-days{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:20px}
.result-single .result-method{margin-top:28px}.result-single .result-method summary{font-size:15px}
@media(max-width:1100px){.site-header nav{gap:18px}.site-header nav a{font-size:14px}.header-actions{gap:8px}.header-actions .nav-cta,.header-actions .header-lamp-link{font-size:14px;padding-inline:16px}.deity-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.story-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.site-header nav{display:none}.header-actions{margin-left:auto}.header-actions .nav-cta,.header-actions .header-lamp-link{font-size:15px}.deity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#result.result-single .reading-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#result.result-single .result-layout{grid-template-columns:260px minmax(0,1fr);gap:25px}}
@media(max-width:600px){
 .site-header{height:auto;min-height:136px;display:flex;flex-wrap:wrap;justify-content:center;gap:12px;padding-block:14px 12px}.site-header .brand{margin:0 auto}.header-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}
 .header-actions .nav-cta,.header-actions .header-lamp-link{width:100%;min-height:49px;font-size:16px;padding:10px 8px;letter-spacing:.06em}
 .journey-nav{padding-block:16px}.journey-counter{font-size:13px;white-space:nowrap}.journey-nav ol{gap:13px}
 .wish-options{display:block}.wish-options>label{display:none}.mobile-topic{display:block}.mobile-topic select{margin-top:0;min-height:56px;font-size:18px;width:100%;background:#fffaf1}
 .wish-paper{width:140px}.wish-paper .paper-name{font-size:19px}.wish-paper .paper-name[data-long=true]{font-size:14px}
 .deity-image{height:220px}.deity-copy{padding:16px 13px}.deity-grid .deity-card:last-child{grid-column:1/-1;max-width:290px;width:100%;justify-self:center}
 .story-grid{grid-template-columns:1fr 1fr;gap:13px}.story-card:last-child{display:block;grid-column:auto}.story-card:last-child>p{margin-top:14px}.story-card>p{font-size:15px!important}.story-disclosure{font-size:13px}
 #result.result-single{padding-block:15px 35px}#result.result-single .result-layout{display:flex;flex-direction:column;gap:28px}#result.result-single .prayer-card{width:100%;max-width:320px}.personal-talisman{width:195px}
 #result.result-single .reading-grid{grid-template-columns:1fr;gap:16px}#result.result-single .reading-grid>article{padding:22px}#result.result-single .reading-tile p{font-size:17px}
 #result.result-single .seven-days{grid-template-columns:1fr 1fr;gap:12px}#result.result-single .day-card p{font-size:15px}#result.result-single .day-card:last-child{grid-column:1/-1}
}

/* Brush-written ritual numerals; accompanying step labels stay easy to read. */
.journey-nav li b,.brush-numeral,.steps-grid article>span,.strip-inner a b{font-family:'Ritual Brush','Kaiti TC','BiauKai',serif;font-weight:400;font-synthesis:none;letter-spacing:0;line-height:1}
.journey-nav li b{font-size:30px;display:inline-block;min-width:30px;text-align:center}
.journey-counter a{display:inline-flex;align-items:center;min-height:44px;color:var(--red);font-weight:600;line-height:1.4;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.journey-counter a:hover{color:#6f241d}.journey-counter a:focus-visible{outline:2px solid var(--red);outline-offset:4px;border-radius:2px}
.ritual-progress .brush-numeral{font-size:27px;vertical-align:-3px}
.steps-grid article>span{font-size:48px}
.guided-experience .hero .hero-name{display:block;font-size:clamp(42px,4.8vw,64px);font-weight:900;line-height:1.35;letter-spacing:.015em;color:var(--red);margin:0 0 25px;white-space:nowrap}
.guided-experience .hero h1{font-size:clamp(33px,3.8vw,48px);line-height:1.5}
@media(max-width:1100px) and (min-width:601px){.guided-experience .hero .hero-name{font-size:clamp(29px,4vw,44px)}.guided-experience .hero h1{font-size:clamp(26px,3.4vw,36px)}}
@media(max-width:600px){.journey-nav li b{font-size:23px;min-width:23px}.journey-nav li{gap:5px}.ritual-progress .brush-numeral{font-size:23px}.ritual-progress{gap:17px}.guided-experience .hero .hero-name{font-size:clamp(30px,9.6vw,44px);margin-bottom:17px;letter-spacing:0}.guided-experience .hero h1{font-size:clamp(25px,7.6vw,34px);line-height:1.5}}
@media(max-width:360px){.journey-nav .journey-counter{display:none}.journey-nav{justify-content:center}}
@media(max-width:360px){.guided-experience[data-step="welcome"] .journey-nav{flex-wrap:wrap;row-gap:0}.guided-experience[data-step="welcome"] .journey-counter{display:block;flex-basis:100%;text-align:right}}
/* Keep every deity portrait and its copy on the same baselines. */
.deity-grid .deity-card{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;height:100%}
.deity-card .deity-image{flex:none;width:100%}.deity-card .deity-image img{width:100%;display:block}
.deity-card .deity-copy{display:flex;flex:1;flex-direction:column;align-items:stretch;gap:0}
.deity-card .deity-copy h3{min-height:3.4em;line-height:1.7;margin:8px 0}
.deity-name{display:block}
.deity-card .deity-copy p{min-height:3.8em;line-height:1.9;margin:0 0 18px}
.deity-card .deity-more{margin-top:auto;align-self:flex-start}
/* Scale ritual objects to the actual art row, including short laptop windows. */
#ritual-art .wish-paper{width:min(155px,44cqh);height:auto;min-height:0;max-height:96cqh;padding:0}
#ritual-art .ritual-incense{width:min(310px,94cqh);height:auto;aspect-ratio:1;align-self:center}
#ritual-art .ritual-incense .living-smoke{bottom:73%;height:60%;width:10%}
#ritual-art .ritual-incense .plume-b{height:70%}#ritual-art .ritual-incense .plume-c{height:65%}
#ritual-art .finale-scene{width:min(350px,76vw,92cqh);height:auto;aspect-ratio:1}

/* The cover is a quiet masthead; navigation remains on readable warm paper. */
.site-cover{height:clamp(148px,25vw,400px);width:100%;background:#101216 url('./assets/chengxin-cover.webp') center 43%/cover no-repeat;border-bottom:1px solid #b58a4f77}
.guided-experience:not([data-step="welcome"]) .site-cover{display:none}
.guided-experience[data-step="welcome"] main{min-height:0}
.guided-experience[data-step="welcome"] .hero{min-height:0}
.site-footer{display:block;padding-block:30px 22px}
.support-card{display:grid;grid-template-columns:82px minmax(0,1fr) auto;gap:26px;align-items:center;padding:30px 34px;border:1px solid #b89a704f;border-radius:5px;background:radial-gradient(ellipse at 0 50%,#dac49c30,transparent 55%),#f8f3e9;box-shadow:inset 0 0 0 5px #fffaf14d,0 8px 30px #4d321209}
.support-emblem{width:82px;height:82px;object-fit:cover;border-radius:5px;box-shadow:0 0 0 1px #a57c4266,0 4px 16px #7f3c1e18}
.support-copy .support-kicker{font-size:12px;letter-spacing:.17em;color:#945d36;margin:0 0 8px;font-weight:600}
.support-copy h2{font-size:26px;line-height:1.5;color:#842b24;margin:0 0 10px;letter-spacing:.06em}
.support-copy>p:not(.support-kicker){font-size:15px;line-height:1.95;color:#5e5545;margin:0 0 9px;max-width:650px}
.support-copy>small{display:block;font-size:13px;line-height:1.9;color:#7b705d}
.support-action{display:flex;flex-direction:column;align-items:center;gap:10px}
.support-button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;min-width:158px;padding:12px 25px;border:1px solid #8e3026;border-radius:4px;background:#a1362b;color:#fff0d8;font-size:18px;font-weight:900;letter-spacing:.08em;text-decoration:none;box-shadow:inset 0 0 0 3px #f7d7a51a,0 3px 8px #78231e18;transition:background .2s,transform .2s}
.support-button:hover{background:#842b24;transform:translateY(-1px)}
.support-button:focus-visible,.lamp-support:focus-visible{outline:3px solid #b68e53;outline-offset:4px}
.support-action>span{font:12px/1.8 var(--serif);color:#85765f;text-align:center}
.site-footer>.footer-blessing{text-align:center;font-size:12px;line-height:1.9;color:#837967;margin:20px 0 0}
.lamp-tools .lamp-support{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 14px;border:1px solid #b4935966;border-radius:4px;background:linear-gradient(150deg,#30291f,#171c25);color:#e8c78c;font-size:14px;font-weight:600;line-height:1.5;text-decoration:none;box-shadow:inset 0 1px 0 #e6c17f20}
.lamp-support img{width:20px;height:20px;object-fit:cover;border-radius:2px;opacity:.9}
.lamp-tools .lamp-support:hover{background:#3a3021;border-color:#d3b276}
.lamp-tools #galaxy-motion{min-height:44px}
@media(min-width:1800px){.site-cover{height:440px;background-size:1800px auto}}
@media(max-width:900px){.support-card{grid-template-columns:66px minmax(0,1fr);gap:20px;padding:25px}.support-emblem{width:66px;height:66px}.support-action{grid-column:2;align-items:flex-start}.support-copy h2{font-size:24px!important}}
@media(max-width:600px){.site-cover{height:clamp(148px,38vw,210px);background-position:center 45%}.site-footer{padding-block:20px}.support-card{position:relative;grid-template-columns:minmax(0,1fr);row-gap:18px;padding:23px 20px}.support-emblem{position:absolute;top:27px;left:20px;width:48px;height:48px}.support-copy .support-kicker,.support-copy h2{padding-left:63px}.support-copy h2{font-size:21px!important;letter-spacing:.02em;min-height:48px}.support-copy>p:not(.support-kicker){font-size:15px}.support-copy>small{font-size:13px}.support-action{grid-column:1/-1;align-items:stretch;gap:8px}.support-button{min-height:52px;width:100%;font-size:17px}.support-action>span{text-align:center}.site-footer>.footer-blessing{font-size:12px;margin-top:18px}.lamp-tools .lamp-support{font-size:14px;padding-inline:13px}}
