:root{--paper:#f1e5ce;--rice:#bdcbb9;--stone:#477369;--ink:#292e28;--muted:#868474}
[hidden]{display:none!important}
html,body,.page,.overlay,.modal,.paywall,.birth-sheet{background-color:var(--paper);background-image:url('/assets/xuan-reference.png');background-size:1530px auto;background-position:left top}
.page:before,.page:after,.paper-input:before,.hex-wrap:after{display:none}
.account,.enter,.option,.local-action,.detail-button,.pay-sheet button,.hex-wrap,.birth-sheet input,.birth-sheet select,#birthPicker,.picker-grid button,.history-open,.history-more{background-color:var(--rice);background-image:url('/assets/xuan-reference.png');background-size:1530px auto;background-position:right center;color:#344b40;border-radius:0}
.paper-input{clip-path:none;background:var(--rice);background-image:url('/assets/xuan-reference.png');background-size:1530px auto;background-position:right top;padding:28px 34px 28px 90px;min-height:150px;isolation:isolate;overflow:hidden}
.paper-input:after{content:'';position:absolute;inset:0;z-index:0;background:var(--paper) url('/assets/xuan-reference.png') left top/1530px auto;mask:url('/assets/pine-cutout.svg') left bottom/100% 100% no-repeat;pointer-events:none}
.question textarea{height:94px;font-size:17px}.portrait{mix-blend-mode:multiply}.hex-title{color:var(--stone)}
.profile{margin:auto;width:min(780px,100%);display:flex;flex-direction:column;min-height:100dvh;padding-bottom:35px}.profile>.close{align-self:flex-end}.profile h2{margin-top:38px}.profile .contact{margin-top:auto;padding-top:55px;font-size:12px}.birth-summary{font-size:13px;color:#687665;letter-spacing:2px;margin:0 0 20px}.birth-summary button{font:11px Huiwen;border:0;background:none;color:var(--stone);cursor:pointer;margin-left:14px}.profile .credit{margin-bottom:25px}.history-open{align-self:flex-start;border:0;padding:12px 19px;margin:30px 0;font:15px Huiwen;cursor:pointer}
.purchase-layer,.history-layer{position:fixed;inset:0;z-index:35;background:#575e4344;backdrop-filter:blur(9px);display:grid;place-items:center}.purchase-layer[hidden],.history-layer[hidden]{display:none}.purchase-sheet,.history-sheet{background:var(--paper) url('/assets/xuan-reference.png') left top/1530px auto;padding:40px;width:min(600px,92vw);max-height:88dvh;overflow:auto}.purchase-sheet h2,.history-sheet h2{font-size:30px;font-weight:400}.purchase-sheet p{font-size:13px;color:#797d6c}.share-invite{margin-top:30px}.share-invite button,.history-more{border:0;padding:10px 15px;font:13px Huiwen;cursor:pointer}.history-sheet{width:min(840px,94vw)}.history-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px 20px}.history-tile{border:0;background:none;padding:0;cursor:pointer;color:#777561;font:11px Huiwen}.history-tile img{width:100%;display:block;margin-bottom:10px}.history-more{display:block;margin:28px auto 0}.history-tile:focus-visible{outline:1px solid var(--stone)}
.reflection{font:20px/1.9 Huiwen;color:var(--stone);margin:35px 0 0;max-width:650px}.reflection[hidden]{display:none}.result{width:min(940px,75vw);margin:0 auto;padding-top:70px}.result .stages{margin-top:30px}.result .detail{border:0;padding:0;margin-top:36px}.result .detail h3{display:none}.detail-grid{gap:34px 48px}.detail-grid article p{font-size:15px;line-height:2.05}.detail-grid article small{color:var(--stone)}.result.expanded .stages{display:none}.result.expanded .detail{display:block}.result.expanded .reflection{font-size:18px}.reading-enter{animation:reading-enter .7s ease both}@keyframes reading-enter{from{opacity:0;transform:translateY(9px);filter:blur(3px)}to{opacity:1;transform:none;filter:blur(0)}}
.oracle-card{padding:0!important;width:min(660px,calc(100vw - 44px));background:var(--paper)}.oracle-card:before{display:none}.text-card-image{display:block;width:100%;height:auto}.card-layer,.birth-layer{background:#e4dfccaa}.card-actions button{background:var(--rice);color:#405e50}.card-scroll{padding-bottom:35px}
@media(max-width:700px){.result{width:100%;padding-top:55px}.reflection{font-size:17px}.history-grid{grid-template-columns:repeat(2,1fr);gap:20px 12px}.history-sheet,.purchase-sheet{padding:25px}.paper-input{padding-left:60px}.detail-grid{grid-template-columns:1fr}.profile{padding-left:25px;padding-right:25px}.question{top:30vh}.ask{top:17vh}}
html,body,.page,.overlay,.modal,.paywall,.birth-sheet,.purchase-sheet,.history-sheet{background-image:url('/assets/xuan-yellow.png');background-size:540px 960px}
.account,.enter,.option,.local-action,.detail-button,.pay-sheet button,.hex-wrap,.birth-sheet input,.birth-sheet select,#birthPicker,.picker-grid button,.history-open,.history-more,.paper-input{background-image:url('/assets/xuan-green.png');background-size:540px 960px}
.paper-input:after{background-image:url('/assets/xuan-yellow.png');background-size:540px 960px;mask-size:55% 100%}
@media(prefers-reduced-motion:reduce){.reading-enter{animation:none}}
/* Colour study withdrawn: retain the new flows with the previously approved palette. */
:root{--paper:#fff;--rice:#f2ebdd;--stone:#47758a;--ink:#181916;--muted:#898a84}
html,body,.page,.overlay,.modal,.paywall,.birth-sheet,.purchase-sheet,.history-sheet{background:#fff}
.account,.enter,.option,.local-action,.detail-button,.pay-sheet button,.hex-wrap,.birth-sheet input,.birth-sheet select,#birthPicker,.picker-grid button,.history-open,.history-more,.paper-input{background:#f2ebdd;color:#47433d}
.paper-input:after{display:none}
.card-layer,.birth-layer{background:#eeeee8bb}.purchase-layer,.history-layer{background:#575e4322}
