*{box-sizing:border-box}html,body{margin:0;padding:0}body{font-family:"Noto Sans TC","Microsoft JhengHei",system-ui,sans-serif;background:#f7f1e7;color:#3c2a20}.wrap{max-width:980px;margin:auto;padding:48px 22px}.narrow{max-width:760px}.hero{text-align:center;padding:36px 10px 28px}.seal{width:74px;height:74px;border:2px solid #8e2e24;border-radius:50%;display:grid;place-items:center;margin:0 auto 18px;color:#8e2e24;font-weight:800;letter-spacing:3px}.eyebrow{color:#8e2e24;font-size:14px;letter-spacing:3px;font-weight:700}.hero h1,h1{margin:8px 0;font-size:clamp(30px,5vw,46px);letter-spacing:2px}.hero p{font-size:18px;color:#765f52}.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.feature-card{background:#fffaf2;border:1px solid #e5d4bf;border-radius:20px;padding:30px;text-decoration:none;color:inherit;box-shadow:0 10px 30px #4a2d1910;transition:.2s}.feature-card:hover{transform:translateY(-3px)}.feature-card h2{margin:12px 0 8px}.feature-card p{line-height:1.8;color:#765f52}.feature-card span{color:#8e2e24;font-weight:700}.icon{font-size:32px;color:#8e2e24}.notice{background:#efe4d5;border-radius:14px;padding:15px 18px;margin-top:24px;color:#654e40;line-height:1.7}.panel{background:#fffaf3;border:1px solid #e2d0bb;border-radius:24px;padding:34px;box-shadow:0 12px 35px #4a2d1910}.center{text-align:center}.back{display:inline-block;margin-bottom:18px;color:#8e2e24;text-decoration:none}.sub{color:#765f52;line-height:1.8}.primary,.secondary{border:0;border-radius:999px;padding:14px 30px;font-size:17px;cursor:pointer;margin:12px 6px}.primary{background:#8e2e24;color:#fff}.primary:disabled{opacity:.6}.secondary{background:#ead8c5;color:#5d3c2c}.hidden{display:none!important}.cups{display:flex;justify-content:center;gap:28px;margin:30px 0}.cup{width:110px;height:150px;border-radius:35% 35% 48% 48%;background:linear-gradient(150deg,#7e1f18,#a84231);color:#fff;display:grid;place-items:center;font-size:30px;font-weight:800;box-shadow:0 12px 18px #4a2d1930;transition:.45s}.cup.flat{border-radius:50% 50% 25% 25%;transform:rotate(180deg)}.cup.round{border-radius:50% 50% 44% 44%;transform:rotate(8deg)}.result{padding:18px;border-radius:16px;background:#f1e8dc;min-height:92px}.result-title{font-size:28px;font-weight:800}.result p{margin:6px 0}.result.holy{background:#f1dfc9;color:#7c2b1f}.result.laugh{background:#eee7db}.result.yin{background:#e8ddd7;color:#5b2923}.guide{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:25px}.guide div{padding:12px;border:1px solid #e1d1bf;border-radius:12px}.guide span{display:block;color:#806b5e;font-size:14px;margin-top:4px}.steps{display:flex;justify-content:center;gap:18px;color:#a18a7a;margin:20px 0 25px;font-size:14px}.steps .active{color:#8e2e24;font-weight:700}.lot{margin-top:25px;padding:28px;border:2px solid #c6a77e;border-radius:18px;background:#fffdf8;text-align:center}.lot-head{color:#8e2e24;letter-spacing:3px;font-weight:800}.lot-number{margin:18px 0;color:#6d5546}.lot-number strong{font-size:42px;color:#8e2e24}.lot h2{margin:4px 0 22px}.poem{font-size:20px;line-height:2.15;padding:18px;border-top:1px solid #eadcc9;border-bottom:1px solid #eadcc9;margin-bottom:20px}.lot-section{text-align:left;line-height:1.8;margin:18px 0}.lot-section b{color:#8e2e24}code{background:#e9ddcf;padding:2px 6px;border-radius:5px}@media(max-width:650px){.cards{grid-template-columns:1fr}.panel{padding:22px 16px}.cups{gap:12px}.cup{width:90px;height:125px}.guide{grid-template-columns:1fr}.wrap{padding:25px 14px}}.interpretation{margin:20px 0;border-top:1px solid #eadcc9}.interp-row{display:grid;grid-template-columns:72px 1fr;gap:14px;padding:10px 4px;border-bottom:1px solid #eee2d2;text-align:left;line-height:1.7}.interp-row b{color:#8e2e24}.lot-section p{margin:6px 0}.lot-section #stories p{padding:4px 0}@media(max-width:650px){.interp-row{grid-template-columns:60px 1fr;font-size:14px}}

/* 三聖筊求籤流程 */
.steps span.done{color:#8e2e24}
.lock-icon{font-size:42px;margin:12px 0 0}
.locked-text{color:#765f52}
.holy-progress{display:flex;align-items:center;justify-content:center;margin:24px auto;max-width:500px}
.holy-dot{width:72px;height:72px;border-radius:50%;border:2px solid #d5c0a9;background:#f5ede3;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#9b8778;transition:.25s}
.holy-dot b{font-size:22px}.holy-dot span{font-size:12px;margin-top:2px}
.holy-dot.done{border-color:#8e2e24;background:#f1dfc9;color:#8e2e24;box-shadow:0 0 0 5px #f1dfc955}
.holy-line{height:2px;width:55px;background:#d5c0a9}
.cup-stage{margin:20px auto 16px;max-width:340px}
.throw-result{padding:18px;border-radius:16px;background:#f1e8dc;min-height:94px;margin:14px 0}
.throw-result .result-title{font-size:24px;font-weight:800}
.throw-result p{margin:6px 0;line-height:1.7}
.holy-result{background:#f1dfc9;color:#7c2b1f}
.fail-result{background:#ead8d2;color:#6a2e28}
.rolling{opacity:.8}
.success-badge{display:inline-block;padding:8px 16px;border-radius:999px;background:#ead7b9;color:#7c2b1f;font-weight:800;margin-bottom:12px}
@media(max-width:650px){
 .holy-dot{width:62px;height:62px}.holy-line{width:24px}
 .cup-stage{max-width:290px}
}
