@font-face{font-family:Noto Serif TC;font-style:normal;font-weight:500 600;font-display:swap;src:url(/fonts/fortune/noto-serif-tc.woff2)format("woff2")}.fortune-world{--fortune-ink:#ead8b9;--fortune-dim:#c8b492;--fortune-gold:#deb578;--fortune-red:#9c392c;color:var(--fortune-ink);isolation:isolate;color-scheme:dark;scrollbar-color:#80623f #151310;background:#151310;min-height:100vh;font-family:inherit}.fortune-world ::selection{color:#fff0d7;background:#9c392c}.fortune-world :is(button,a,input,summary):focus-visible{outline-offset:5px;outline:2px solid #e7c485}.fortune-world :is(button,a){touch-action:manipulation}.fortune-nav{z-index:5;background:linear-gradient(#151310c9,#0000);justify-content:space-between;gap:1rem;width:100%;padding:1.5rem 2.4rem;font-size:.875rem;display:flex;position:absolute;top:0;left:0}.fortune-nav a{color:#e6cfaa;text-underline-offset:.35em;align-items:center;gap:.5rem;min-height:32px;text-decoration:none;display:inline-flex}.fortune-nav a:hover{text-decoration:underline}.fortune-stage{background:#151310;outline:none;height:100svh;min-height:max(780px,48rem);max-height:1060px;position:relative;overflow:hidden}.fortune-canvas,.fortune-stage__shade{position:absolute;inset:0}.fortune-canvas canvas{width:100%;height:100%;display:block}.fortune-canvas[data-scene=ready]{cursor:grab;touch-action:pan-y pinch-zoom;user-select:none}.fortune-canvas[data-dragging]{cursor:grabbing}.fortune-canvas:focus-visible{outline-offset:-8px;outline:2px solid #e7c485}.fortune-view-hint{pointer-events:none;text-align:center;color:#dec7a3;margin:.75rem auto 0;font-size:.75rem;position:relative}.fortune-view-controls{z-index:2;flex-direction:column;gap:.4rem;display:flex;position:absolute;top:44%;right:1rem}.fortune-view-controls button{color:#ead3a9;cursor:pointer;background:#241b13;border:1px solid #957548;border-radius:50%;place-items:center;width:44px;height:44px;display:grid}.fortune-view-controls button:hover:not(:disabled){background:#493421}.fortune-view-controls button:disabled{opacity:.4;cursor:default}.fortune-stage__shade{pointer-events:none;background:linear-gradient(#15131077 0%,#0000 28% 52%,#151310bb 80%,#151310 100%)}.fortune-stage__heading{text-align:center;pointer-events:none;padding-top:5.2rem;position:relative}.fortune-stage__heading h1{letter-spacing:.24em;color:#f4e3c6;margin:0 0 .7rem;padding-left:.24em;font-family:Noto Serif TC,PMingLiU,serif;font-size:clamp(2rem,3vw,3rem);font-weight:500;line-height:1.4}.fortune-stage__heading p{letter-spacing:.15em;color:var(--fortune-dim);margin:0;font-size:.95rem}.fortune-topics{z-index:1;text-align:center;border:0;width:min(92%,32rem);margin:1.5rem auto 0;padding:0;position:relative}.fortune-topics legend{color:#e2c9a2;margin:0 auto .65rem;font-size:.8rem}.fortune-topics>div{flex-wrap:wrap;justify-content:center;gap:1rem;display:flex}.fortune-topics label{cursor:pointer;white-space:nowrap;font-size:.85rem;position:relative}.fortune-topics input{opacity:0;width:1px;height:1px;position:absolute}.fortune-topics span{color:#d1c0a5;border-bottom:1px solid #0000;padding:.45rem .1rem;transition:color .18s,border-color .18s;display:block}.fortune-topics input:checked+span{color:#ffe0a7;border-color:#deb578}.fortune-topics input:focus-visible+span{outline-offset:4px;outline:2px solid #e7c485}.fortune-stage__ritual{z-index:1;text-align:center;width:min(94%,40rem);position:absolute;bottom:1.7rem;left:50%;translate:-50%}.fortune-status{text-wrap:balance;color:#f1dec0;max-width:32rem;margin:0 auto 1.25rem;font-family:Noto Serif TC,PMingLiU,serif;font-size:1rem;line-height:1.9}.fortune-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:1.5rem;display:flex}.fortune-primary{color:#fff3df;letter-spacing:.05em;cursor:pointer;background:#b94b33;border:1px solid #d88e59;border-radius:3px;justify-content:center;align-items:center;gap:1rem;min-width:13rem;min-height:52px;padding:.9rem 2.2rem;font-size:1rem;transition:background .18s,transform .18s;display:inline-flex;box-shadow:0 8px 32px #07060380}.fortune-primary:hover:not(:disabled){background:#ac3f2b;transform:translateY(-2px)}.fortune-primary:disabled{color:#d6bc95;cursor:wait;background:#4f392b;border-color:#7d6041}.fortune-text{color:inherit;cursor:pointer;text-underline-offset:.35em;background:0 0;border:0;justify-content:center;align-items:center;gap:.45rem;min-height:36px;padding:.45rem 0;font-size:.875rem;display:inline-flex}.fortune-text:hover{text-decoration:underline}.fortune-return{color:#e1bf89;margin-top:.5rem}.fortune-ritual-note{letter-spacing:.04em;color:#bba98d;margin:.9rem 0 0;font-size:.72rem}.fortune-fallback-note,.fortune-error{color:#f1cf9d;margin:.75rem 0;font-size:.85rem}.fortune-stick-number{letter-spacing:.2em;margin:0 0 .8rem;font-family:Noto Serif TC,PMingLiU,serif;font-size:1rem}.fortune-stick-number strong{font-size:2rem;font-weight:500}.fortune-stick-number span{color:var(--fortune-dim);margin-left:.8rem;font-size:.9rem}.fortune-cup-result{z-index:1;pointer-events:none;justify-content:center;align-items:center;gap:1rem;width:fit-content;max-width:94%;margin:1rem auto 0;display:flex;position:relative}.fortune-cup-result strong{letter-spacing:.12em;font:500 1.8rem Noto Serif TC,PMingLiU,serif}.fortune-cup-result>span{gap:.5rem;display:flex}.fortune-cup-result i{color:#fff0d8;border:1px solid #d69b6f;border-radius:50%;place-items:center;min-width:28px;height:28px;font-size:.7rem;font-style:normal;display:grid}.fortune-cup-result .is-flat{background:#a74732}.fortune-cup-result .is-round{background:#682d25;box-shadow:inset 0 5px 9px #28130f}.fortune-still{width:150px;height:220px;position:absolute;top:39%;left:50%;translate:-50%}.fortune-still__tube{background:linear-gradient(90deg,#551e18,#ac4834 45%,#522017);border-block:5px solid #ab793e;border-radius:4px 4px 35px 35px;place-items:center;display:grid;position:absolute;inset:30% 0 0;box-shadow:9px 15px 32px #08060580}.fortune-still__tube span{writing-mode:vertical-rl;letter-spacing:.2em;color:#efd7a0;border:1px solid #d5ab67;padding:10px 8px;font:500 1.6rem PMingLiU,serif}.fortune-still__sticks{position:absolute;inset:0}.fortune-still__sticks i{transform-origin:bottom;background:#cba56d;border-top:22px solid #a43d28;width:10px;height:160px;position:absolute;left:50%}.fortune-reading{color:#e7d4b8;outline:none;max-width:64rem;margin:auto;padding:2.4rem 1.5rem 3.5rem;scroll-margin-top:1rem;animation:.65s ease-out both fortune-unfold}.fortune-reading__top{color:#d7ba8c;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;font-size:.8rem;display:flex}.fortune-paper{color:#3e2e24;background:#efe2c7;border-radius:2px;grid-template-columns:1fr 1fr;display:grid;position:relative;box-shadow:0 20px 60px #07050360}.fortune-paper:before{content:"";pointer-events:none;border:1px solid #bc9461;position:absolute;inset:12px}.fortune-paper__poem{text-align:center;padding:2.8rem 2rem 2rem;position:relative}.fortune-paper__number{letter-spacing:.15em;color:#795135;margin:0 0 1rem;font-size:.82rem}.fortune-paper h2{color:#3e2e24;margin:0 0 1.6rem;font:500 1.35rem/1.7 Noto Serif TC,PMingLiU,serif}.fortune-verses{flex-direction:row-reverse;justify-content:center;gap:1.1rem;min-height:215px;margin:0 auto;display:flex}.fortune-verses p{writing-mode:vertical-rl;letter-spacing:.16em;color:#492e22;margin:0;font:500 clamp(1.15rem,2vw,1.4rem)/1.7 Noto Serif TC,PMingLiU,serif}.fortune-seal{letter-spacing:.14em;color:#9e4534;border:2px solid #9e4534;margin:1.5rem 0 0;padding:.3rem .5rem;font-family:Noto Serif TC,PMingLiU,serif;font-size:.7rem;display:inline-block;rotate:-4deg}.fortune-paper__meaning{align-self:center;padding:3rem 2.5rem 2.5rem 1.7rem}.fortune-paper__meaning h3{color:#552f24;margin:0 0 .8rem;font-family:Noto Serif TC,PMingLiU,serif;font-size:1.1rem;font-weight:600}.fortune-paper__meaning p{margin:0 0 1.65rem;font-size:.95rem;line-height:2}.fortune-paper__meaning .fortune-own-copy{color:#795135;margin:1rem 0 0;font-size:.75rem}.fortune-line-reading{border-block:1px solid #574832;margin:2rem 0;padding:1rem 0}.fortune-line-reading summary{cursor:pointer;color:#e4c38f;padding:.4rem 0;font-family:Noto Serif TC,PMingLiU,serif}.fortune-line-reading dl{grid-template-columns:1fr 1fr;gap:1.2rem 2rem;margin:1.5rem 0 .5rem;display:grid}.fortune-line-reading dt{color:#f2dbb7;margin-bottom:.4rem;font-family:Noto Serif TC,PMingLiU,serif;font-size:1rem}.fortune-line-reading dd{color:#cbb99c;margin:0;font-size:.9rem;line-height:1.9}.fortune-reading__actions{flex-wrap:wrap;align-items:center;gap:2rem;display:flex}.fortune-reading__actions :is(button,a){color:#e6c48f;cursor:pointer;text-underline-offset:.4em;background:0 0;border:0;align-items:center;gap:.5rem;padding:.5rem 0;font-size:.875rem;text-decoration:underline;display:inline-flex}.fortune-reading__notice{color:#c5b297;margin:1rem 0;font-size:.78rem;line-height:1.8}.fortune-source{color:#b7a68d;max-width:45rem;font-size:.75rem;line-height:1.9}.fortune-source a{color:#dab985;text-underline-offset:.3em;text-decoration:underline}.fortune-source .fortune-text{font-size:.75rem}.fortune-guide-wrap{background:var(--background);color:var(--foreground);color-scheme:light;padding:3rem max(1.25rem,50% - 36rem) 1rem}.fortune-guide-intro{max-width:55rem;margin:0 auto 2rem;line-height:1.9}.fortune-guide-intro h2{margin:0 0 1rem;font-size:1.4rem;font-weight:600}.fortune-guide-intro p{font-size:1rem;line-height:1.9}.fortune-guide-intro a{color:var(--primary);text-underline-offset:.3em;text-decoration:underline}.fortune-library{color:#ead8b9;background:#151310;min-height:100vh;padding:7rem max(1.25rem,50% - 33rem) 4rem}.fortune-library h1{margin:0 0 1rem;font:500 clamp(1.7rem,4vw,2.6rem)/1.5 Noto Serif TC,PMingLiU,serif}.fortune-library-intro{color:#cbb99b;max-width:42rem;font-size:.94rem;line-height:1.9}.fortune-poem-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 2rem;margin:2.5rem 0;padding:0;list-style:none;display:grid}.fortune-poem-list li{border-bottom:1px solid #4a3d2c}.fortune-poem-list a{color:#ead8b9;padding:1.25rem 0;text-decoration:none;transition:color .15s;display:block}.fortune-poem-list a:hover{color:#ffd394}.fortune-poem-list small{letter-spacing:.05em;color:#c3a779;margin-bottom:.4rem;font-size:.72rem;display:block}.fortune-poem-list strong{font:500 1rem/1.6 Noto Serif TC,PMingLiU,serif}.fortune-poem-nav{justify-content:space-between;gap:1rem;margin-top:2rem;font-size:.875rem;display:flex}.fortune-poem-nav a{color:#e2bb80;text-underline-offset:.4em;text-decoration:underline}@keyframes fortune-unfold{0%{opacity:.5;transform:translateY(20px)}to{opacity:1;transform:none}}@media (width>=1700px){.fortune-stage__heading{padding-top:6rem}}@media (width<=640px){.fortune-nav{padding:1rem 1.1rem;font-size:.78rem}.fortune-stage{min-height:max(740px,46rem);max-height:none}.fortune-stage__heading{padding-top:4.2rem}.fortune-stage__heading h1{font-size:2rem}.fortune-stage__heading p{font-size:.8rem}.fortune-topics>div{gap:.9rem}.fortune-topics label{font-size:.8rem}.fortune-stage__ritual{bottom:1.4rem}.fortune-status{max-width:20rem;margin-bottom:1rem;font-size:.92rem}.fortune-actions{gap:.85rem}.fortune-primary{min-width:12rem;padding:.8rem 1.2rem}.fortune-paper{grid-template-columns:1fr}.fortune-reading{padding:1.6rem 1rem 2.5rem}.fortune-paper__poem{padding:2.6rem 1.5rem 1.7rem}.fortune-paper__meaning{padding:.5rem 1.8rem 2.4rem}.fortune-paper__meaning h3{margin-top:1.4rem}.fortune-verses p{font-size:1.3rem}.fortune-line-reading dl{grid-template-columns:1fr;gap:1rem}.fortune-reading__actions{gap:1rem}.fortune-poem-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1.2rem}.fortune-poem-list strong{font-size:.85rem}.fortune-library{padding-top:5rem}.fortune-guide-wrap{padding-top:2rem}.fortune-ritual-note{font-size:.68rem}}@media (prefers-reduced-motion:reduce){.fortune-world *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
