:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--night:#101426;--panel:#171a30;--gold:#c5a46d;--pale:#e8dec8;--soft:#beb4a9;--line:#c5a46d38;--serif:"Noto Serif TC","Noto Serif CJK TC","Songti TC",serif;--sans:system-ui,"PingFang TC","Microsoft JhengHei",sans-serif;font-family:var(--sans);background:var(--night);color:var(--pale);font-synthesis:none;line-height:1.65}*{box-sizing:border-box}body{min-width:0;min-height:100vh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:radial-gradient(at 72% 24%,#22223c 0,#0000 49%),linear-gradient(155deg,#14172b,#0e1222 74%);margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:44px;color:var(--pale);background:#181a2c;border:1px solid #b997626b;border-radius:6px;padding:.53rem 1rem;transition:background .2s,border-color .2s}button:hover{border-color:var(--gold);background:#27263c}button:disabled,button[aria-disabled=true]{opacity:.45;cursor:default}button.primary{color:#211b19;background:#d3b47c;border-color:#e3c894;font-weight:700}button.primary:hover{background:#e8cd99}button[aria-pressed=true]{border-color:var(--gold);color:#f2d8a9;background:#332b36}a{color:inherit;text-decoration:none}:focus-visible{outline-offset:4px;outline:2px solid #f1ca82}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);overflow-wrap:anywhere;font-weight:700;line-height:1.3}p{overflow-wrap:anywhere}h2{font-size:1.45rem}h3{font-size:1.21rem}img{max-width:100%;display:block}.skip{z-index:10;background:var(--night);padding:1rem;position:fixed;top:1rem;left:1rem;transform:translateY(-200%)}.skip:focus{transform:none}.site-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:1rem;max-width:1330px;margin:auto;padding:1rem clamp(1rem,4vw,3.5rem);display:flex}.brand{flex:none;align-items:center;gap:.65rem;min-height:44px;display:flex}.brand img{width:42px}.brand strong,.brand small{display:block}.brand strong{font:700 1.13rem var(--serif);letter-spacing:.16em}.brand small,.site-footer small{font:600 .63rem var(--sans);letter-spacing:.16em;color:var(--gold)}.site-header nav{align-items:center;gap:clamp(.25rem,1.75vw,1.65rem);min-width:0;display:flex}.site-header nav a{white-space:nowrap;min-width:44px;min-height:44px;color:var(--soft);border-bottom:1px solid #0000;justify-content:center;align-items:center;padding:0 .12rem;font-size:.9rem;display:flex}.site-header nav a:hover,.site-header nav a[aria-current=page]{color:#eed8a9;border-color:var(--gold)}.home,.inner,.site-footer{max-width:1140px;margin:auto;padding-inline:clamp(1rem,4vw,2.7rem)}.hero{isolation:isolate;grid-template-columns:1.03fr 1fr;align-items:center;gap:1rem;min-height:518px;padding-block:2rem;display:grid;position:relative}.hero-copy{z-index:1}.eyebrow{color:#dac08b;letter-spacing:.18em;font-size:.83rem;font-weight:650}.hero-kicker{border:1px solid var(--line);border-radius:3rem;align-items:center;gap:.7rem;margin-bottom:1.35rem;padding:.24rem .7rem;display:inline-flex}.hero h1{letter-spacing:.03em;text-shadow:0 8px 38px #0b0b1a90;font-size:clamp(2.65rem,6.25vw,5.45rem);font-weight:750;line-height:1.16}.hero h1 span,.gold{color:#e0bf80}.hero-description{color:var(--soft);letter-spacing:.04em;margin-top:1.28rem;font-size:1.05rem}.hero-actions{margin-top:1.6rem}.hero-actions button{white-space:nowrap;min-height:48px;padding-inline:1.1rem}.hero-art{filter:drop-shadow(0 0 42px #c5a46d18);width:min(100%,465px);margin-inline:auto;padding:.7rem;position:relative}.hero-art img{width:100%;height:auto;-webkit-mask-image:radial-gradient(circle,#000 64%,#0000 73%);mask-image:radial-gradient(circle,#000 64%,#0000 73%)}.divider img{object-fit:cover;border-radius:50%;width:26px;height:26px}.divider{color:var(--gold);align-items:center;gap:1rem;margin-bottom:1.55rem;display:flex}.divider:before,.divider:after{content:"";background:linear-gradient(90deg,#0000,#c5a46d65);flex:1;height:1px}.divider:after{transform:rotate(180deg)}.home-links{grid-template-columns:repeat(3,1fr);gap:1rem;display:grid}.home-links button{text-align:left;border-color:var(--line);background:linear-gradient(135deg,#22243b,#16192c);align-items:center;gap:.85rem;min-height:94px;padding:1rem;display:flex}.home-links button:hover{border-color:var(--gold)}.tile-icon{object-fit:cover;border:1px solid var(--line);color:#ebcc93;border-radius:50%;flex:none;width:42px;height:42px;font-size:1.35rem}.home-links strong,.home-links small{display:block}.home-links strong{font:700 1.05rem var(--serif);letter-spacing:.05em}.home-links small{color:var(--soft);margin-top:.28rem;font-size:.83rem}.site-footer{color:var(--soft);border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:.7rem;margin-top:2rem;padding-block:1.15rem;font-size:.86rem;display:flex}.text-button{color:var(--soft);background:0 0;border-color:#0000;font-size:.87rem}.inner{min-height:65vh;padding-top:1.4rem;padding-bottom:1rem}.page-heading{padding-block:1.5rem}.page-heading h1{font-size:clamp(2rem,6vw,3.75rem)}.page-heading p+h1,.page-heading h1+p{margin-top:.55rem}.page-heading h1+p,.muted{color:var(--soft)}.panel{border:1px solid var(--line);background:linear-gradient(135deg,#21243bcc,#15182bd9);border-radius:10px;min-width:0;padding:clamp(1rem,3vw,1.55rem)}.panel p+p,.panel h2+p,.panel h3+p,.prose p+h2,.summary p+h3{margin-top:.65rem}.actions,.segments{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.justify-center{justify-content:center}.form{gap:1rem;max-width:720px;display:grid}.form>.primary,.centered>.primary{justify-self:start}label{color:var(--pale);gap:.32rem;min-width:0;display:grid}input,select,textarea{background:#101426;border:1px solid #ad936759;border-radius:5px;width:100%;min-width:0;min-height:44px;padding:.48rem .65rem}select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--gold) 50%),linear-gradient(135deg,var(--gold) 50%,transparent 50%);background-position:calc(100% - 16px) 52%,calc(100% - 11px) 52%;background-repeat:no-repeat;background-size:5px 5px;padding-right:1.65rem}.position-inputs{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:.75rem;display:grid}.centered{text-align:center}.centered>.primary,.centered>.actions,.centered>.segments,.range{margin-top:1rem}.small-moon{border-radius:50%;width:140px;margin:0 auto .6rem}.question-display{font-family:var(--serif);color:#edd7a8;font-size:1.2rem}.back{object-fit:contain;-webkit-user-select:none;user-select:none;width:100%;height:100%}.centered>.back{width:105px;margin:auto auto 1rem}.visual-card{touch-action:none;width:clamp(65px,17vw,123px);margin:.8rem auto}.visual-card.turned{animation:.42s ease-in-out deck-turn}@keyframes deck-turn{0%{rotate:-180deg}to{rotate:0deg}}.shuffle-stack{touch-action:none;cursor:grab;width:120px;height:184px;margin:1rem auto 1.5rem;position:relative}.shuffle-stack .back{position:absolute;inset:0}.shuffle-stack .back:first-child{transform:translate(-13px)rotate(-9deg)}.shuffle-stack .back:nth-child(2){transform:translate(13px)rotate(9deg)}.shuffle-stack.mixed .back:nth-child(2){animation:.38s shuffle}@keyframes shuffle{50%{transform:translate(45px)rotate(20deg)}}.piles{justify-content:center;gap:clamp(.28rem,3vw,2.5rem);display:flex}.pile{min-width:0}.pile .visual-card{cursor:grab}.pile-buttons{justify-content:center;gap:.2rem;display:flex}.pile-buttons button{min-width:44px;padding:0}.fan{scrollbar-color:#9f865c #181b31;gap:.5rem;margin:.6rem 0 1rem;padding:.55rem .35rem .95rem;display:flex;overflow-x:auto}.fan-card{background:0 0;border:0;flex:0 0 66px;padding:0;position:relative}.fan-card span{color:#f0d297;text-align:center;background:#101426;border-radius:6px;position:absolute;inset:auto .15rem .18rem}.fan-card[aria-disabled=true]{opacity:.64}.table-surface{background:linear-gradient(#10142664,#1014268c),#14192b url(/art/table.webp) 50%/cover no-repeat;border:1px solid #c5a46d58;border-radius:12px;box-shadow:inset 0 0 28px #0b0e1b99}.fan.table-surface{padding:1rem}.reveal-table{margin-block:1rem 1.35rem;padding:clamp(.6rem,3vw,1.75rem)}.reveal-list{--face-width:96px;--face-height:136px;grid-template-columns:repeat(auto-fill,minmax(min(100%,144px),1fr));gap:1.25rem .75rem;display:grid}.reveal-list.reveal-celtic{grid-template-columns:repeat(5,minmax(0,1fr))}.reveal-slot{grid-template-rows:minmax(3rem,auto) 1fr;place-items:start center;min-width:0;display:grid}.reveal-slot p{color:var(--pale);text-align:center;overflow-wrap:anywhere;margin:0 0 .35rem;line-height:1.35}.face{--portrait-angle:0deg;justify-items:center;gap:.38rem;width:max-content;min-width:0;max-width:100%;display:grid}.face-stage,.reveal-back{width:var(--face-width,104px);max-width:100%;height:var(--face-height,138px);place-items:center;display:grid;position:relative}.face.sideways,.reveal-back.sideways{--portrait-angle:90deg}.face.sideways .face-stage,.reveal-back.sideways{width:var(--face-height,138px)}.face.reversed{--orientation-angle:180deg}.face .card-art,.reveal-back .back{width:var(--face-width,104px);height:var(--face-height,138px);object-fit:cover;transform:translate(-50%,-50%) rotate(calc(var(--portrait-angle) + var(--orientation-angle,0deg)));border:1px solid #c5a46d88;border-radius:7px;max-width:none;display:block;position:absolute;top:50%;left:50%}.face-caption{color:#f3e3bd;text-align:center;background:#15192c;border:1px solid #c5a46d66;border-radius:6px;justify-items:center;gap:.2rem;width:100%;padding:.45rem .38rem .5rem;display:grid}.face-name{font:700 .92rem/1.3 var(--serif);overflow-wrap:anywhere}.face small{color:#efd2a0;font-size:.8rem;line-height:1.25}.reveal-back{background:0 0;border:0;padding:0}.reveal-back:hover{background:0 0}.reading-entries,.daily-grid,.library-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,255px),1fr));align-items:start;gap:.85rem;margin-block:1rem;display:grid}.entry .face{margin:1rem 0}.entry p{line-height:1.75}@media (width<=900px){.reveal-list.reveal-celtic{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=600px){.reveal-list,.reveal-list.reveal-celtic{--face-width:80px;--face-height:112px;grid-template-columns:repeat(2,minmax(0,1fr))}}.summary{margin-block:1rem}.check{align-items:center;display:flex}.check input{width:44px;min-height:44px}.ritual-footer{border-top:1px solid var(--line);margin-top:1rem;padding-top:.85rem}.ritual-status:empty{display:none}.ritual-status{color:#ecd09a;margin-top:.65rem}.daily-feature{align-items:center;gap:clamp(1rem,4vw,2rem);display:flex}.daily-feature .face{flex:none}.library-controls{grid-template-columns:2fr 1fr;gap:.7rem;margin-bottom:.65rem;display:grid}.library-grid details summary{cursor:pointer;align-items:center;gap:.75rem;min-height:44px;list-style:none;display:flex}.library-grid details summary::-webkit-details-marker{display:none}.library-grid details summary:after{content:"＋";color:var(--gold);margin-left:auto}.library-grid details[open] summary:after{content:"−"}.library-grid summary .card-art{aspect-ratio:120/170;object-fit:cover;border-radius:6px;flex:none;width:62px;height:auto}.library-grid summary span{font-family:var(--serif);font-weight:700}.library-grid details summary small{color:var(--soft);font-weight:400;display:block}.library-grid details p{margin-top:.45rem}.empty,.history-row{margin-top:1rem}.empty button{margin-top:.65rem}.history-title{flex-wrap:wrap;justify-content:space-between;gap:.8rem;display:flex}.history-title time{color:var(--soft)}.prose{max-width:750px}.prose button{margin-top:1rem}.banner{color:#f5e6c8;text-align:center;background:#3b2c2b;padding:.6rem 1rem}.banner.update{flex-wrap:wrap;justify-content:center;align-items:center;gap:.7rem;display:flex}.mobile-break{display:none}@media (width<=780px){.site-header{flex-direction:column;align-items:flex-start;gap:.2rem;padding-block:.6rem}.site-header nav{scrollbar-width:thin;gap:1rem;width:100%;overflow-x:auto}.hero{min-height:400px}.home-links{gap:.55rem}.home-links button{gap:.5rem;padding:.65rem}.tile-icon{width:34px;height:34px}}@media (width<=560px){.hero{text-align:center;flex-direction:column-reverse;align-items:stretch;gap:0;min-height:0;padding-block:.75rem 1.65rem;display:flex}.hero-art{width:min(69vw,265px);padding:.25rem}.hero-kicker{margin-bottom:.65rem}.hero h1{font-size:clamp(2.35rem,11vw,3.9rem)}.hero-description{margin-top:.65rem}.hero-actions{justify-content:center;gap:.4rem;margin-top:1rem}.hero-actions button{padding-inline:.7rem}.home-links{grid-template-columns:1fr}.home-links button{min-height:68px}.site-footer small{display:none}.site-footer{margin-top:1rem}.range label{max-width:calc(50% - .35rem)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media (width<=365px){.piles{gap:.22rem}.pile-buttons{flex-direction:column;align-items:center}}.library-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,154px),1fr));gap:clamp(.6rem,1.6vw,1rem)}.gallery-card{border:1px solid var(--line);background:#171a2b;border-radius:10px;min-width:0;overflow:clip}.library-grid .gallery-card summary{text-align:center;gap:0;display:grid;position:relative}.gallery-art{aspect-ratio:4/5;background:#0d1120;display:block;position:relative}.library-grid summary .gallery-art .card-art{aspect-ratio:auto;object-fit:contain;border-radius:0;width:100%;height:100%;display:block;position:absolute;inset:0}.gallery-label{color:var(--pale);gap:.15rem;padding:.65rem 1.3rem .65rem .55rem;display:grid}.gallery-label strong{font-size:clamp(.9rem,1.8vw,1.1rem);line-height:1.35}.library-grid .gallery-card summary:after{position:absolute;bottom:1.2rem;right:.48rem}.gallery-card[open]{border-color:#b79560}.gallery-reading{border-top:1px solid var(--line);padding:.65rem .75rem 1rem;font-size:.86rem}.gallery-reading p+p{margin-top:.55rem}.gallery-reading strong{color:var(--gold);display:block}.ritual-progress{color:var(--gold);align-items:center;gap:.7rem;margin-bottom:.65rem;font-size:.83rem;display:flex}.ritual-progress progress{width:min(30vw,12rem);height:.4rem;accent-color:var(--gold)}.ritual-guide{border:1px solid var(--line);background:linear-gradient(115deg,#29243c,#181c30);border-radius:10px;align-items:center;gap:clamp(.75rem,2vw,1.25rem);max-width:760px;margin-bottom:1rem;padding:.8rem clamp(.7rem,2vw,1.1rem);display:flex}.ritual-guide h2{color:#f5dbab;margin:0 0 .25rem;font-size:1.02rem}.ritual-guide p{color:var(--pale);margin:0;font-size:.92rem;line-height:1.55}.guide-picture{flex:none;place-items:center;width:70px;min-height:56px;display:grid;position:relative}.guide-picture>img{object-fit:cover;border-radius:50%;width:54px;height:54px}.guide-picture>span{width:24px;height:36px;position:absolute}.guide-picture>span:first-child{translate:-16px 2px;rotate:-15deg}.guide-picture>span:last-child{translate:16px 2px;rotate:15deg}.guide-picture-4>span:last-child{rotate:90deg}.guide-picture-5>span{rotate:0deg!important}.guide-picture-6>span:nth-child(2),.guide-picture-7>span:nth-child(2){z-index:1;translate:0 -7px}.starter-choice{text-align:left;color:var(--pale);background:#242037;border:1px solid #c5a46d72;align-items:center;gap:.75rem;width:100%;padding:.6rem .75rem;display:flex}.starter-card{flex:none;width:29px}.starter-choice strong,.starter-choice small{display:block}.starter-choice small{color:var(--soft);margin-top:.15rem}.guided-action{margin-top:.65rem}.actions>.guided-action{margin-top:0}.spread-preview{border:1px solid var(--line);background:#14182a;border-radius:8px;grid-template-columns:repeat(auto-fit,minmax(min(100%,78px),1fr));gap:.45rem;margin-block:.4rem;padding:.6rem;display:grid}.spread-position{text-align:center;align-content:start;justify-items:center;gap:.32rem;min-width:0;padding:.2rem;font-size:.78rem;line-height:1.3;display:grid}.spread-position[aria-current=step]{color:#ffdfa8;background:#342b36;border-radius:6px}.spread-deck{place-items:center;width:30px;height:44px;display:grid;position:relative}.spread-deck.horizontal .back{rotate:90deg}.spread-deck span{color:#f9dca9;background:#151729;border-radius:50%;min-width:1.15rem;line-height:1.15rem;position:absolute}.reveal-back:not(:disabled) .back{outline-offset:4px;outline:2px solid #e2bd7f}@media (width<=600px){.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reveal-list,.reveal-list.reveal-celtic{--face-width:76px;--face-height:108px}}
