:root{--ink:#213051;--muted:#64718a;--paper:#f4f6fa;--line:#dde3ee;--gold:#c29a55;--navy:#203659;--red:#b83e49;--green:#1b7166;--white:#fff;font-family:"Microsoft JhengHei","PingFang TC",system-ui,sans-serif;color:var(--ink);font-size:16px}
*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,textarea{font:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #ba9550;outline-offset:4px}a{color:var(--navy)}button{transition:background .16s,border-color .16s,transform .16s}button:hover:not(:disabled){filter:brightness(.96)}[hidden]{display:none!important}.site-header{height:94px;display:flex;justify-content:space-between;align-items:center;padding:0 4.5%;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:14px;text-decoration:none;font-weight:600;font-size:23px;letter-spacing:2px}.brand b{font-weight:400;letter-spacing:4px}.brand small{display:block;font-size:13px;letter-spacing:2px;font-weight:400;color:var(--muted);margin-top:5px}.brand-mark{display:grid;place-items:center;width:47px;height:47px;border-radius:50%;background:var(--navy);color:#e3c78e;font-size:24px;font-family:serif;border:3px double #e3c78e}.header-right{display:flex;align-items:center;gap:22px}.version{font-size:13px;padding:6px 11px;border:1px solid var(--line);border-radius:4px;color:var(--muted)}.text-button{border:0;background:none;color:var(--navy);font-size:14px;padding:8px 0;border-bottom:1px solid #a7b2c4}main{max-width:1540px;margin:0 auto;padding:30px 4.5% 0}.declaration{background:var(--navy);color:white;padding:23px 35px;border-radius:10px;position:relative;overflow:hidden}.declaration:after{content:"";position:absolute;right:48px;top:-100px;width:310px;height:310px;border:1px solid #ffffff1f;border-radius:50%;box-shadow:0 0 0 30px #ffffff05,0 0 0 65px #ffffff04;pointer-events:none}.eyebrow{font-size:13px;letter-spacing:2px;color:var(--muted)}.declaration .eyebrow{color:#dfc18c}.declaration p{font-family:"Microsoft JhengHei",serif;font-size:27px;letter-spacing:2px;font-weight:600;margin:10px 0}.declaration>span:last-child{font-size:15px;color:#d5deed;line-height:1.7}.workspace-heading{display:flex;justify-content:space-between;align-items:center;margin:29px 0 22px;gap:20px}h1{font-size:23px;margin:0 0 8px;font-weight:600;letter-spacing:.5px}.workspace-heading p{margin:0;font-size:14px;line-height:1.7;color:var(--muted)}.privacy-note{font-size:13px;color:var(--muted);white-space:nowrap}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:24px}.panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px;position:relative;transition:border-color .2s,box-shadow .2s;min-width:0}.panel.selected{border-color:var(--gold);box-shadow:0 0 0 1px #c29a5525}.panel-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:14px}.panel-select{display:flex;gap:9px;align-items:center;border:0;padding:0;background:none;color:var(--ink);font-size:14px;font-weight:600}.panel-number{font-size:19px;font-weight:400;font-variant-numeric:tabular-nums;color:var(--gold);font-family:Georgia,serif}.status{font-size:12px;padding:5px 8px;border-radius:4px;background:#f0f3f7;color:var(--muted);line-height:1.4}.status[data-status="running"]{background:#edf4fc;color:#345b92}.status[data-status="complete"]{background:#e9f5f0;color:var(--green)}.status[data-status="demo"]{background:#fff5e4;color:#865f22}textarea{display:block;width:100%;background:#f7f9fc;border:1px solid #e5eaf2;border-radius:6px;padding:10px 12px;font-size:14px;line-height:1.6;resize:vertical;min-height:65px;max-height:160px;color:var(--ink)}textarea::placeholder{color:#8993a5}textarea:focus{outline:none;border-color:#9caecb;box-shadow:0 0 0 3px #2036590a}.board-button{display:block;border:0;background:transparent;width:100%;padding:8px 0 3px}.board{display:block;position:relative;width:245px;height:218px;max-width:100%;margin:auto}.board-ring{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;border:1px solid #d4deed;pointer-events:none}.ring-one{width:194px;height:194px;background:radial-gradient(circle,#eef3f966 0,transparent 65%);border-style:dashed}.ring-two{width:165px;height:165px;border-color:#c29a552b}.board-line{position:absolute;left:50%;top:50%;background:#dce5f0;transform:translate(-50%,-50%)}.horizontal{height:1px;width:190px}.vertical{width:1px;height:180px}.piece-place{position:absolute;display:flex;flex-direction:column;align-items:center;gap:3px;transform:translate(-50%,-50%)}.pos-0{left:50%;top:50%;z-index:2}.pos-1{left:15%;top:50%}.pos-2{left:85%;top:50%}.pos-3{left:50%;top:15%}.pos-4{left:50%;top:85%}.position-label{font-size:12px;color:#73829d;background:white;padding:0 3px;line-height:1.4}.chess{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#fcfcff;border:3px double #79859a;color:#263447;font-size:27px;font-family:"DFKai-SB","KaiTi","Microsoft JhengHei",serif;box-shadow:0 3px 6px #1b284b0c;line-height:1}.chess.red{color:var(--red);border-color:#d19197;background:#fffafb}.chess.empty{color:#a7b1c3;border:1px dashed #c0cada;font-family:serif;background:#f8fafe}.completion-seal{position:absolute;inset:47px 60px;border-radius:50%;border:3px double var(--gold);background:#fffdf8f5;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#8a662c;animation:stamp .5s ease}.completion-seal>span{font-size:26px;font-weight:600;letter-spacing:3px}.completion-seal small{font-size:12px;margin-top:7px}.finished .piece-place{opacity:.2;filter:blur(1px)}@keyframes stamp{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}.panel-metrics{display:flex;justify-content:center;gap:28px;color:var(--muted);font-size:12px;margin:6px 0 15px}.panel-metrics b{font-weight:500;font-size:13px;font-variant-numeric:tabular-nums;color:#394a66;margin-left:4px}.panel-actions{display:grid;grid-template-columns:repeat(2,minmax(max-content,1fr)) minmax(max-content,1.55fr) minmax(max-content,1fr);gap:7px}.panel-actions button{padding:10px 5px;white-space:nowrap;border-radius:5px;font-size:14px;border:1px solid #d7dfeb;background:white;color:var(--ink)}.panel-actions .auto-button{background:var(--navy);color:white;border-color:var(--navy)}.panel-actions .pause-button{background:#f7f9fc;color:var(--muted)}.reading{position:sticky;top:20px;background:#fff;border:1px solid var(--line);border-top:3px solid var(--navy);border-radius:8px;padding:23px;min-width:0}.reading-top{display:flex;justify-content:space-between;align-items:center}.reading-number{font:24px Georgia,serif;color:#adb7c9}.reading h2{font-size:22px;margin:15px 0 9px;font-weight:600}.reading-subtitle{font-size:14px;line-height:1.7;color:var(--muted);margin:0 0 18px;overflow-wrap:anywhere;max-height:135px;overflow:auto;white-space:pre-wrap}.reading-empty{text-align:center;padding:30px 0 38px}.empty-symbol{display:grid;place-items:center;width:75px;height:75px;border:1px solid #d6deec;border-radius:50%;margin:0 auto 20px;font:32px serif;color:#a2b0c9;background:#f8faff}.reading-empty p{font-size:14px;line-height:1.8;color:var(--muted)}.reading-empty>span:last-child{font-size:13px;color:#8b97ab}.reading-note{background:#f2f5fa;border-left:2px solid #9baccc;padding:12px;font-size:14px;line-height:1.7;margin:0 0 16px}.reading-note.positive{border-color:var(--green);background:#edf6f2;color:var(--green)}.composition{display:flex;gap:8px}.composition span{padding:7px 12px;border:1px solid #e3e7ee;border-radius:5px;font-size:13px}.composition b{margin-left:7px;font-size:17px;font-weight:500}.reading h3{font-size:14px;margin:23px 0 12px}.position-reading{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.position-reading div{display:flex;flex-direction:column;gap:6px;border:1px solid #e7ebf2;border-radius:5px;padding:9px 10px}.position-reading span{font-size:12px;color:var(--muted)}.position-reading strong{font-weight:500;font-size:15px}.red-text{color:var(--red)}.structure-notes p{font-size:14px;color:#596882;line-height:1.8;margin:7px 0}.criteria{margin-top:22px;border-top:1px solid var(--line);padding-top:17px}.criteria summary{font-size:14px;cursor:pointer;line-height:1.7}.criteria summary>span{float:right;font-size:12px;color:var(--muted)}.criteria ul{list-style:none;padding:0;margin:12px 0}.criteria li{display:flex;gap:8px;font-size:13px;line-height:1.7;margin:9px 0;color:var(--muted)}.criteria .met>span{color:var(--green)}.criteria .unmet>span{color:#a9b3c4}.criteria p{font-size:12px;color:#7d889c;line-height:1.8}.interpretation-next{margin-top:20px;padding:14px;background:#faf8f3;border-radius:5px}.interpretation-next>span{font-size:12px;color:#8c6b35}.interpretation-next p{font-size:13px;line-height:1.8;margin:6px 0 0;color:#736853}.rules{border-top:1px solid var(--line);margin-top:20px;padding-top:17px}.rules summary{font-size:13px;color:var(--muted);cursor:pointer}.rules p,.rules a{font-size:13px;line-height:1.9;color:var(--muted)}footer{display:flex;align-items:center;gap:8px;padding:25px 0;color:#8490a4;font-size:12px;line-height:1.8}.footer-version{margin-left:auto}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(min-width:1450px){.workspace{grid-template-columns:minmax(0,1fr) 365px}.board{height:232px;width:260px}.panel{padding:22px}}
@media(max-width:1100px){main{padding:25px 3% 0}.site-header{padding:0 3%}.workspace{grid-template-columns:minmax(0,1fr) 300px;gap:18px}.panel{padding:14px}.reading{padding:19px}.privacy-note{display:none}.panels{gap:14px}.board{width:215px}.chess{width:44px;height:44px;font-size:25px}.panel-actions button{font-size:13px}.panel-metrics{gap:20px}.completion-seal{inset:50px 44px}}
@media(max-width:860px){.workspace{grid-template-columns:1fr}.reading{position:static}.reading-empty{padding:18px 0}.position-reading{grid-template-columns:repeat(5,1fr)}.site-header{height:83px}.brand{font-size:20px}.brand-mark{width:40px;height:40px}.header-right{gap:12px}.declaration{padding:22px 25px}.workspace-heading{margin-top:24px}.board{width:245px}.completion-seal{inset:47px 60px}}
@media(max-width:540px){.site-header{padding:15px 18px;height:auto;align-items:center;gap:15px}.brand{font-size:18px;gap:9px;letter-spacing:1px}.brand b{letter-spacing:2px}.brand small{font-size:12px;letter-spacing:0}.brand-mark{width:35px;height:35px;font-size:20px}.header-right{flex-direction:column;align-items:flex-end;gap:4px}.version{font-size:12px;padding:3px 6px}.text-button{font-size:12px;line-height:1.5;padding:5px 0}main{padding:18px 16px 0}.declaration{padding:19px}.declaration p{font-size:22px;line-height:1.5;letter-spacing:1px}.declaration>span:last-child{font-size:14px}.declaration:after{right:-140px}.workspace-heading h1{font-size:21px}.workspace-heading p{font-size:14px}.panels{grid-template-columns:1fr;gap:16px}.panel{padding:18px}.board{width:255px;height:230px}.panel-actions button{font-size:15px;padding:12px 5px}.panel-metrics{font-size:13px;margin-bottom:17px}.status{font-size:13px}textarea{font-size:16px}.reading{padding:20px}.position-reading{grid-template-columns:repeat(3,1fr)}.criteria li{font-size:14px}.criteria summary>span{font-size:13px}.structure-notes p{font-size:15px}.rules p,.rules a{font-size:14px}.completion-seal{inset:53px 63px}footer{flex-wrap:wrap;padding:22px 0}.footer-version{width:100%;margin-left:0}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* 咒輪與關係三角的意象；保持原本抽棋與停止規則。 */
.healing-intro{display:flex;gap:18px;align-items:flex-start;padding:22px 26px;margin-bottom:24px;border:1px solid #ded6c6;border-radius:12px;background:linear-gradient(120deg,#fffdf7,#f0f6f5);max-width:100%}.healing-intro-mark{font-size:36px;color:#b69763;line-height:1.3}.healing-intro h2{font-size:18px;margin:0 0 8px;font-weight:600}.healing-intro p{font-size:14px;line-height:1.9;margin:0;color:#56647b}.healing-intro small{display:block;font-size:12px;line-height:1.8;color:#7b857f;margin-top:8px}.board-button{padding-top:35px;padding-bottom:28px}.board{isolation:isolate}.healing-field{position:absolute;inset:-28px -24px;pointer-events:none;z-index:-1}.mantra-wheel{position:absolute;width:88%;height:88%;object-fit:contain;left:6%;top:6%;opacity:.12;filter:saturate(.4);border-radius:50%;transition:opacity 1s}.healing-triangle{width:100%;height:100%;object-fit:contain;opacity:.8;filter:drop-shadow(0 1px 4px #c2a46b22);transition:opacity 1s}.board-ring{opacity:.4}.position-label{background:#ffffffd9}.panel{background:linear-gradient(170deg,#fff 45%,#fbfaf6)}.is-clearing .mantra-wheel{opacity:.26;animation:wheel-breathe 5s ease-in-out infinite}.is-clearing .healing-triangle{animation:triangle-breathe 5s ease-in-out infinite}.is-settled .healing-triangle{opacity:1}.is-settled .mantra-wheel{opacity:.2}.completion-seal small{font-size:11px}.completion-seal{background:#fffdf8e8}.completion-seal>span{font-size:24px}@keyframes wheel-breathe{0%,100%{opacity:.16}50%{opacity:.3}}@keyframes triangle-breathe{0%,100%{opacity:.6}50%{opacity:1}}@media(max-width:540px){.healing-intro{padding:18px;gap:12px}.healing-intro h2{font-size:17px}.healing-intro-mark{font-size:28px}.healing-intro p{font-size:14px}.healing-field{inset:-25px -15px}}@media(prefers-reduced-motion:reduce){.is-clearing .mantra-wheel,.is-clearing .healing-triangle{animation:none}}
.board-button{padding-top:74px}.healing-field{inset:-65px -24px -28px}.healing-triangle{object-fit:fill}.mantra-wheel{height:75%;top:22%}@media(max-width:540px){.healing-field{inset:-65px -15px -25px}}

.healing-triangle{z-index:0}.mantra-wheel{z-index:1;opacity:.32}.is-clearing .mantra-wheel{opacity:.42}.workspace.without-reading{grid-template-columns:1fr}.without-reading .panels{max-width:1050px;width:100%;margin:auto}.structure-notes small{display:block;color:var(--muted);font-size:12px;margin-top:4px}@keyframes wheel-breathe{0%,100%{opacity:.3}50%{opacity:.46}}
.healing-field{inset:0}.mantra-wheel{width:240px;height:240px;left:50%;top:50%;transform:translate(-50%,-50%);object-fit:contain}.healing-triangle{position:absolute;width:126px;height:112px;left:50%;top:50%;transform:translate(-50%,-50%);object-fit:contain;z-index:2;opacity:.95}.board-button{padding-top:24px;padding-bottom:24px}.piece-place{z-index:3}.board-ring,.board-line{z-index:-1}@keyframes wheel-breathe{0%,100%{opacity:.3;transform:translate(-50%,-50%)}50%{opacity:.46;transform:translate(-50%,-50%)}}@media(max-width:540px){.healing-field{inset:0}}
.healing-triangle{z-index:0}.mantra-wheel{z-index:1}
.pos-1{left:24%}.pos-2{left:76%}.pos-3{top:23%}.pos-4{top:77%}
.healing-triangle{width:156px;height:138px;transform:translate(-50%,-50%) rotate(45deg)}

.healing-triangle{width:156px;height:156px;transform:translate(-50%,-50%)}
.brand-cross{display:inline-block;margin:0 9px;font-size:.65em;color:var(--gold);font-weight:400}.brand b{letter-spacing:1px}@media(max-width:540px){.brand{font-size:16px}.brand-cross{margin:0 5px}}

.pos-1{left:calc(50% - 52px)}.pos-2{left:calc(50% + 52px)}.pos-3{top:calc(50% - 52px)}.pos-4{top:calc(50% + 52px)}.healing-triangle{width:200px;height:200px;transform:translate(-50%,-50%)}
.culture-logo{width:auto;height:42px;max-width:180px;object-fit:contain;vertical-align:middle}.brand>span:last-child{line-height:1.2}@media(max-width:540px){.culture-logo{height:29px;max-width:110px}}

.consult-button{display:block;text-align:center;text-decoration:none;margin-top:22px;padding:13px 16px;background:var(--navy);color:#fff;border:1px solid var(--navy);border-radius:6px;font-size:15px;font-weight:600}.consult-button:hover{background:#30496c}

.consult-button{width:100%;font:inherit;cursor:pointer}.consult-dialog{width:min(900px,calc(100vw - 32px));max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:16px;padding:28px;color:var(--ink);background:#fffdf9}.consult-dialog::backdrop{background:#17243bcc;backdrop-filter:blur(4px)}.consult-top{display:flex;align-items:center;justify-content:space-between}.consult-close{border:0;background:#f0f2f6;color:var(--ink);border-radius:50%;width:36px;height:36px;font-size:25px}.consult-dialog h2{font-size:25px;margin:12px 0}.consult-lead{font-size:14px;line-height:1.8;color:var(--muted)}.consult-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.consult-services article{padding:22px 18px;border:1px solid #e4dac6;border-radius:10px;background:#fff}.service-tag{font-size:12px;color:#957444}.consult-services h3{font-size:19px;margin:12px 0}.service-price{font-size:27px!important;color:#91682f!important;font-weight:600}.service-price span{font-size:12px;font-weight:400;margin-left:6px}.consult-services p{font-size:14px;line-height:1.9;color:var(--muted)}.consult-notes{font-size:13px;line-height:1.9;color:var(--muted)}.consult-contact{border-top:1px solid var(--line);padding-top:18px}.consult-contact a{display:inline-block;background:var(--navy);color:white;text-decoration:none;padding:12px 18px;border-radius:6px;font-size:15px}.consult-contact p{font-size:12px;color:var(--muted);line-height:1.8}@media(max-width:650px){.consult-services{grid-template-columns:1fr;gap:12px}.consult-dialog{padding:20px}.consult-services article{padding:18px}.consult-dialog h2{font-size:22px}}

.consult-services article{display:flex;flex-direction:column}.service-pay{margin-top:auto;padding:12px 8px;border:1px solid var(--navy);background:var(--navy);color:#fff;border-radius:6px;font:inherit;font-size:14px}.payment-message{padding:12px 16px;background:#fff3dc;border:1px solid #e2c38c;border-radius:6px;line-height:1.8;font-size:14px}
@media(max-width:860px){.panels{grid-template-columns:1fr}.panels>.reading{grid-column:1/-1;border:1px solid var(--gold);border-top:4px solid var(--gold);box-shadow:0 5px 20px #2036590a;margin-top:-5px;scroll-margin-top:16px}.panels>.reading .reading-top{margin-bottom:12px}.panels>.reading h2{font-size:20px}.panels>.reading .structure-notes p{font-size:16px;line-height:1.85}}
@font-face{font-family:"Chess Iansui";src:url("assets/chess-iansui.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}.chess{font-family:"Chess Iansui","DFKai-SB","KaiTi",serif;font-weight:400;text-shadow:.25px 0 currentColor;}
.seed-suggestions{margin-top:20px;border-top:1px solid var(--line);padding-top:2px}.seed-suggestions ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}.seed-suggestions li{font-size:15px;line-height:1.6;padding:7px 11px;background:#f2f6ef;border:1px solid #dce5d5;border-radius:6px;color:#435b42}
.score-summary{margin:18px 0 22px}.score-totals{display:grid;grid-template-columns:1fr 1fr;gap:10px}.score-totals>div{padding:13px 15px;border:1px solid var(--line);border-radius:8px;background:#f5f8fc}.score-totals span{display:block;font-size:14px;color:var(--muted);margin-bottom:5px}.score-totals strong{font-size:25px;font-weight:600;color:var(--navy)}.score-totals strong small{font-size:14px;font-weight:400}.score-note{font-size:12px;color:var(--muted);margin:9px 0}.score-details{font-size:14px;line-height:1.8}.score-details summary{cursor:pointer;color:var(--navy)}.score-details h4{margin:12px 0 5px}.score-details ul{padding-left:20px;margin:0}.score-details li{margin:7px 0}.score-details li small{display:block;font-size:12px;color:var(--muted)}
.seed-suggestions ul{display:grid;grid-template-columns:1fr}.seed-suggestions li p{margin:5px 0 0;font-size:14px;line-height:1.8}.consult-snapshot{border:1px solid var(--gold);background:#fbfaf5;border-radius:10px;padding:20px;margin:20px 0}.consult-snapshot h3{margin:0 0 8px}.consult-snapshot p{font-size:14px;line-height:1.8;overflow-wrap:anywhere}.snapshot-board{width:240px;height:230px;position:relative;margin:15px auto}.snapshot-piece{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;width:50px;height:50px;border:3px double currentColor;border-radius:50%;background:#fffdf8;font:32px "Chess Iansui","DFKai-SB",serif}.snapshot-piece.red{color:var(--red)}.snapshot-piece.black{color:#263447}.snapshot-pos-0{left:50%;top:50%}.snapshot-pos-1{left:20%;top:50%}.snapshot-pos-2{left:80%;top:50%}.snapshot-pos-3{left:50%;top:20%}.snapshot-pos-4{left:50%;top:80%}.snapshot-actions{display:flex;flex-wrap:wrap;gap:10px}.snapshot-actions button{padding:11px 14px;background:var(--navy);color:#fff;border:0;border-radius:6px;font-size:15px}#snapshot-copy-fallback{min-height:180px}#snapshot-feedback{color:var(--green)}
.saved-consult-tools{display:flex;justify-content:flex-end;margin:0 0 16px}.saved-consult-tools button{border:1px solid var(--gold);border-radius:6px;padding:9px 13px;color:var(--navy);background:#fff;font-size:14px}
.page-tabs{display:flex;gap:10px;margin:24px 0}.page-tabs button{padding:12px 18px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--navy);font-size:16px}.page-tabs button[aria-pressed="true"]{background:var(--navy);color:#fff}.consult-bottom-close{display:block;width:100%;padding:13px;border:1px solid var(--line);border-radius:6px;background:#f3f5f8;color:var(--navy);font-size:16px;margin-top:24px}.seed-suggestions li p{white-space:pre-line}.chart-help{padding:16px 20px;background:#fff;border:1px solid var(--line);border-radius:8px;margin-bottom:20px}.chart-help p{font-size:15px;line-height:1.8;margin:5px 0}.chart-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:18px 0}.chart-toolbar button{border:1px solid var(--gold);border-radius:6px;background:#fff;color:var(--navy);padding:10px 13px;font-size:15px}#chart-instruction{font-size:15px;line-height:1.8}.chart-bank{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:8px;max-width:700px;margin:0 auto 22px;position:sticky;top:8px;z-index:5;box-shadow:0 4px 15px #2036590a}.chart-pick{min-height:46px;border:2px double currentColor;border-radius:7px;background:#fffdf8;font:25px "Chess Iansui",serif;padding:2px}.chart-pick.red,.chart-cell.red{color:var(--red)}.chart-pick.black,.chart-cell.black{color:#263447}.chart-pick.covered{background:var(--navy);color:#d8bf91;border-color:#bfa06b}.chart-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.chart-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px}.chart-card h2{font-size:18px;margin:0 0 12px}.chart-cross{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,70px);max-width:270px;margin:auto;gap:7px}.chart-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:7px;background:#faf9f4;color:#8993a5}.chart-cell span{font:32px "Chess Iansui",serif}.chart-cell small{font:12px sans-serif;margin-top:4px;color:var(--muted)}.chart-cell.chosen{outline:3px solid var(--gold);outline-offset:1px}.chart-cell-0{grid-column:2;grid-row:2}.chart-cell-1{grid-column:1;grid-row:2}.chart-cell-2{grid-column:3;grid-row:2}.chart-cell-3{grid-column:2;grid-row:1}.chart-cell-4{grid-column:2;grid-row:3}.chart-consult{padding:24px;border:1px solid var(--gold);background:#fffdf8;border-radius:10px;margin:28px 0}.chart-consult h2{font-size:21px;margin-top:0}.chart-consult p{line-height:1.8}.chart-consult button{padding:13px 18px;border:0;border-radius:6px;background:var(--navy);color:#fff;font-size:16px}.snapshot-board.chart-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;height:auto;max-height:470px;overflow:auto;gap:12px}.chart-preview-card h4{text-align:center;font-size:13px;margin:8px 0}.chart-mini-board{position:relative;width:130px;height:150px;margin:auto}.chart-mini-board .snapshot-piece{width:33px;height:33px;font-size:24px}.chart-bank:empty{display:none}@media(max-width:650px){.chart-layout{grid-template-columns:1fr}.chart-bank{padding:8px;gap:4px}.chart-pick{font-size:21px;min-height:43px}.chart-bank.manual-bank{grid-template-columns:repeat(4,minmax(0,1fr))}.chart-mini-board{width:106px;height:140px}.chart-mini-board .snapshot-piece{width:28px;height:28px;font-size:21px}}
.chart-consult button{margin-right:10px;margin-bottom:8px}#chart-services-button{background:#fff;color:var(--navy);border:1px solid var(--navy)}
.footer-terms{display:inline-block;margin-left:16px;white-space:nowrap}.terms-page{max-width:860px;padding-bottom:30px;line-height:1.9}.terms-page h1{font-size:30px;margin-top:24px}.terms-page h2{font-size:21px;margin:0 0 14px;color:var(--navy)}.terms-page section{background:#fff;border:1px solid var(--line);border-radius:10px;padding:24px;margin:22px 0}.terms-page p{margin:12px 0}.terms-date,.terms-back{font-size:14px;color:var(--muted)}.terms-notice{background:#faf5e9;border-left:3px solid var(--gold);padding:10px 18px;border-radius:4px}.terms-contact{display:inline-block;background:var(--navy);color:#fff;padding:10px 18px;border-radius:6px;text-decoration:none}.terms-page li{margin:8px 0}.terms-page h2{scroll-margin-top:20px}@media(max-width:540px){.terms-page h1{font-size:25px}.terms-page section{padding:18px}.terms-page h2{font-size:19px}.footer-terms{display:block;margin:12px 0 0}}
.chart-layout.chart-full-board,.snapshot-board.chart-preview.chart-full-board{display:grid;grid-template-columns:repeat(3,minmax(48px,66px)) minmax(78px,1fr);grid-template-rows:repeat(17,62px);gap:4px 8px;max-width:480px;width:100%;height:auto;margin:0 auto;padding:20px 16px;background:#fffdf8;border:1px solid #e4dac5;border-radius:12px;max-height:none;overflow:visible;position:relative}.chart-full-piece{align-self:center;justify-self:center;display:flex;flex-direction:column;align-items:center;justify-content:center;width:52px;height:52px;min-width:44px;border:3px double #bbc3cf;border-radius:50%;background:#fffdf8;color:#8a96aa;padding:0;position:relative}.chart-full-piece span{font:31px "Chess Iansui","DFKai-SB",serif;line-height:1}.chart-full-piece small{font:10px sans-serif;line-height:1.2;color:var(--muted);margin-top:1px}.chart-full-piece.red{color:var(--red);border-color:var(--red)}.chart-full-piece.black{color:#263447;border-color:#263447}.chart-full-piece.chosen{outline:3px solid var(--gold);outline-offset:3px;background:#fff1cf}.chart-full-label{align-self:center;white-space:pre-line;font-size:15px;line-height:1.7;padding-left:14px;border-left:2px solid var(--gold);color:var(--navy)}.chart-reading-section{max-width:780px;margin:32px auto}.chart-reading-section>h2{font-size:22px;margin-bottom:8px}.chart-reading-section>p{font-size:14px;color:var(--muted);line-height:1.8}.chart-reading-card{border:1px solid var(--line);border-radius:10px;background:#fff;margin:12px 0;overflow:hidden}.chart-reading-card summary{cursor:pointer;padding:18px;line-height:1.7;font-size:16px}.chart-reading-card summary strong{font-weight:600}.chart-reading-card summary span{display:block;padding-top:6px;font-size:14px;color:var(--muted)}.chart-reading-card h3{font-size:17px;margin:20px 20px 7px}.chart-reading-card p{font-size:16px;line-height:1.9;margin:0 20px 20px}.chart-reading-card[open] summary{border-bottom:1px solid var(--line);background:#f8f7f3}.chart-reading-section button{display:block;padding:10px 16px;margin-top:12px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--navy)}@media(max-width:540px){.chart-layout.chart-full-board,.snapshot-board.chart-preview.chart-full-board{grid-template-columns:repeat(3,minmax(44px,1fr)) minmax(88px,1.6fr);grid-template-rows:repeat(17,58px);gap:2px 4px;padding:16px 8px}.chart-full-piece{width:46px;height:46px}.chart-full-piece span{font-size:28px}.chart-full-label{font-size:14px;padding-left:9px}.chart-reading-card summary{padding:15px}.chart-bank{position:sticky;top:4px}.chart-reading-card p{margin-left:16px;margin-right:16px}}
#chart-size-toggle{display:none}@media(max-width:650px){#chart-size-toggle{display:block;margin:12px auto;padding:9px 14px;background:#fff;border:1px solid var(--line);border-radius:6px;color:var(--navy);font-size:14px}.chart-full-board{--chart-step:clamp(24px,calc((100svh - 144px)/17),34px)}.chart-layout.chart-full-board,.snapshot-board.chart-preview.chart-full-board{grid-template-columns:repeat(3,minmax(32px,1fr)) minmax(94px,1.7fr);grid-template-rows:repeat(17,var(--chart-step));gap:2px 4px;padding:12px 8px;max-width:370px}.chart-full-piece{width:var(--chart-step);height:var(--chart-step);min-width:0;border-width:2px}.chart-full-piece span{font-size:calc(var(--chart-step)*.67)}.chart-full-piece small{font-size:7px;line-height:1;white-space:nowrap;margin-top:0}.chart-full-piece.chosen{outline-width:2px;outline-offset:1px}.chart-full-label{font-size:13px;line-height:1.45;padding-left:8px}.chart-layout.chart-expanded{grid-template-rows:repeat(17,58px);padding-top:16px;padding-bottom:16px}.chart-expanded .chart-full-piece{width:46px;height:46px;min-width:44px}.chart-expanded .chart-full-piece span{font-size:28px}.chart-expanded .chart-full-piece small{font-size:9px}}
.chart-bank:not(.manual-bank) .chart-pick{width:100%;max-width:64px;aspect-ratio:1;height:auto;min-height:0;padding:0;border-radius:50%;justify-self:center;align-self:center;line-height:1;box-shadow:0 2px 4px #20365914}

.seed-reason-row{margin-top:16px}.seed-reason-row+.seed-reason-row{margin-top:22px}.seed-reason-label{display:block;font-size:14px;font-weight:700;line-height:1.6}.seed-weakness-label{color:#91494d}.seed-outcome-label{color:#286b62}.seed-suggestions .seed-reason-row p{margin:8px 0 0;line-height:1.9}
.declaration{background:linear-gradient(115deg,#fff8e6 0%,#fff0df 45%,#eff8ed 100%);color:#35594c;border:1px solid #eadfc7;box-shadow:0 6px 24px #bd934d0b}.declaration>*{position:relative;z-index:1}.declaration .eyebrow{color:#98703c}.declaration p{color:#305647}.declaration>span:last-child{color:#5a6c60}.declaration:after{width:300px;height:300px;right:45px;top:-70px;border-color:#b5c8a855;box-shadow:0 0 0 25px #ffffff30,0 0 0 55px #e8cf9920}.declaration:before{content:"";position:absolute;right:180px;top:34px;width:60px;height:60px;border-radius:50%;background:radial-gradient(circle,#fff9d6 10%,#ffdfa0 60%,#ffdb9600 72%);box-shadow:0 0 40px #ffdfa064;pointer-events:none}@media(max-width:540px){.declaration:after{right:-110px;top:-25px;width:230px;height:230px}.declaration:before{right:25px;top:24px;width:48px;height:48px;opacity:.55}}
.chart-checklist-section{max-width:780px;margin:32px auto}.chart-checklist-section>h2{font-size:22px;margin-bottom:8px}.chart-checklist-section>p{color:var(--muted);font-size:14px;line-height:1.85}.chart-female-option{display:flex;align-items:center;gap:9px;font-size:14px;color:var(--muted);margin:16px 0}.chart-female-option input{width:18px;height:18px;accent-color:var(--green)}.chart-checklist-card{border:1px solid #dbe7de;border-radius:10px;background:#fff;margin:12px 0;overflow:hidden}.chart-checklist-card summary{cursor:pointer;padding:17px 20px;line-height:1.7}.chart-checklist-card summary>span{float:right;font-size:13px;color:var(--green);font-weight:400}.chart-checklist-card[open] summary{background:#f2f7f2;border-bottom:1px solid #dbe7de}.chart-checklist-card h3{font-size:15px;color:#3f6554;margin:24px 20px 10px}.chart-checklist-card ul{list-style:none;padding:0 20px;margin:0 0 20px}.chart-checklist-card li{display:flex;gap:10px;border-bottom:1px solid #edf0ed;padding:12px 0}.chart-checklist-card li:last-child{border-bottom:0}.checklist-mark{color:var(--green);font-size:18px;line-height:1.8;flex-shrink:0}.chart-checklist-card li p{font-size:15px;line-height:1.85;margin:0;color:var(--ink)}.checklist-priority{color:#a47832;font-weight:700}.checklist-relations{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.checklist-relations span{font-size:12px;color:#62715e;background:#f1f5ef;border-radius:4px;padding:3px 6px}.checklist-empty{margin:20px;font-size:14px;color:var(--muted)}@media(max-width:540px){.chart-checklist-card summary{padding:15px}.chart-checklist-card h3{margin-left:16px;margin-right:16px}.chart-checklist-card ul{padding-left:16px;padding-right:16px}.chart-checklist-card li p{font-size:15px}}
.chart-checklist-card .checklist-health-note{font-size:12px;line-height:1.8;color:var(--muted);margin:0 20px 12px}@media(max-width:540px){.chart-checklist-card .checklist-health-note{margin-left:16px;margin-right:16px}}

/* Brand alignment and shared action palette. */
.brand-name{display:inline-flex;align-items:center;vertical-align:middle;line-height:1}
.brand-cross{font-size:.45em;line-height:1;letter-spacing:0;margin:0 9px;color:#92703d}
:root{--action:#376b59;--action-hover:#2c594a;--action-line:#b8cdbf;--action-soft:#f1f6ef;--action-gold:#f5ead1;--action-gold-ink:#70552a}
.panel-actions button,.chart-toolbar button,.saved-consult-tools button,.chart-reading-section button,#chart-size-toggle,.page-tabs button,#chart-services-button{background:var(--action-soft);color:var(--action);border-color:var(--action-line)}
.panel-actions .draw-button{background:var(--action-gold);color:var(--action-gold-ink);border-color:#d9c399}
.panel-actions .auto-button,.page-tabs button[aria-pressed="true"],.consult-button,.snapshot-actions button,.chart-consult button:not(#chart-services-button),.service-pay,.consult-contact a,.terms-contact{background:var(--action);color:#fff;border-color:var(--action)}
.consult-button:hover,.consult-contact a:hover,.terms-contact:hover{background:var(--action-hover)}
.panel-actions .pause-button,.consult-bottom-close,.consult-close{background:#f4f0e7;color:#746650;border-color:#ded4c2}
.text-button{color:var(--action);border-bottom-color:var(--action-line)}
.page-tabs button[aria-pressed="true"]{box-shadow:0 3px 10px #376b5915}
@media(max-width:540px){.brand-cross{margin:0 6px}}

.clearing-overview-bar{display:none}
body.clearing-overview{overflow:hidden}
.clearing-overview .workspace{position:fixed;inset:0;z-index:20;background:var(--paper);padding:12px;display:grid;grid-template-columns:1fr;grid-template-rows:44px minmax(0,1fr);gap:10px;height:100svh;padding-bottom:max(12px,env(safe-area-inset-bottom))}
.clearing-overview .clearing-overview-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;max-width:900px;margin:auto;color:var(--action)}
.clearing-overview-bar button{padding:10px 12px;min-height:44px;border:1px solid var(--action-line);border-radius:6px;background:var(--action-soft);color:var(--action);font-size:14px}
.clearing-overview .workspace .panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:10px;width:100%;max-width:900px;height:100%;margin:0 auto}
.clearing-overview .reading{display:none!important}
.clearing-overview .panel{padding:10px;display:flex;flex-direction:column;gap:6px;min-height:0}
.clearing-overview .panel-top{margin:0;gap:4px;min-height:28px;flex-wrap:wrap}
.clearing-overview .panel-select{font-size:12px;gap:5px}
.clearing-overview .status{font-size:10px;padding:3px 4px}
.clearing-overview .panel-number{font-size:15px}
.clearing-overview textarea{min-height:32px;height:32px;max-height:32px;padding:5px 7px;font-size:13px;resize:none;flex-shrink:0}
.clearing-overview .board-button{padding:0;flex:1;min-height:0;display:flex;align-items:center;justify-content:center}
.clearing-overview .board{width:min(100%,240px,calc((100svh - 330px)/2));height:auto;aspect-ratio:1;max-width:100%;flex-shrink:0}
.clearing-overview .mantra-wheel{width:100%;height:100%}
.clearing-overview .healing-triangle{width:83%;height:83%}
.clearing-overview .chess{width:clamp(24px,calc((100svh - 330px)/10),44px);height:clamp(24px,calc((100svh - 330px)/10),44px);font-size:clamp(18px,calc((100svh - 330px)/15),28px);border-width:2px}
.clearing-overview .pos-1{left:28%}.clearing-overview .pos-2{left:72%}.clearing-overview .pos-3{top:28%}.clearing-overview .pos-4{top:72%}
.clearing-overview .board-ring,.clearing-overview .board-line{display:none}
.clearing-overview .completion-seal{inset:24%;font-size:13px}.clearing-overview .completion-seal>span{font-size:20px}.clearing-overview .completion-seal small{font-size:10px;text-align:center}
.clearing-overview .panel-metrics{display:none}
.clearing-overview .panel-actions{gap:5px;flex-shrink:0}
.clearing-overview .panel-actions button{padding:5px 2px;min-height:34px;font-size:12px}
@media(max-width:540px){.clearing-overview .panel-actions{gap:4px}.clearing-overview .panel-actions button{font-size:11px}}
@media(max-width:360px){.clearing-overview .workspace{padding:8px;gap:8px}.clearing-overview .workspace .panels{gap:8px}.clearing-overview .panel{padding:7px;gap:4px}.clearing-overview .panel-top{min-height:40px}.clearing-overview .status{font-size:10px}}

.clearing-overview .board{container-type:inline-size}.clearing-overview .chess{width:clamp(20px,20cqw,44px);height:clamp(20px,20cqw,44px);font-size:clamp(16px,14cqw,28px)}

.terms-page{font-size:14px;line-height:1.85}.terms-page h1{font-size:26px}.terms-page h2{font-size:18px}.terms-page p{margin:10px 0}.terms-page li{margin:6px 0}.terms-page section{padding:22px;margin:18px 0}.terms-date,.terms-back{font-size:13px}@media(max-width:540px){.terms-page h1{font-size:23px}.terms-page h2{font-size:17px}.terms-page section{padding:17px}}

.workspace-view-tools{display:flex;justify-content:flex-end;width:100%;max-width:1050px;margin:0 auto 14px}.workspace-view-tools button{padding:10px 16px;min-height:42px;border:1px solid var(--action-line);border-radius:7px;background:var(--action-soft);color:var(--action);font-size:14px;white-space:nowrap}@media(max-width:540px){.workspace-view-tools{margin-bottom:12px}.workspace-view-tools button{width:100%}}

@font-face{font-family:"Chess Brush";src:url("assets/chess-brush.ttf") format("truetype");font-display:swap;font-weight:400}
.chess,.snapshot-piece,.chart-pick,.chart-full-piece span,.chart-cell span{font-family:"DFKai-SB","BiauKai","KaiTi","Chess Hand","Chess Iansui",serif;font-weight:400;text-shadow:none}
.chess:not(.empty),.snapshot-piece,.chart-full-piece{background:radial-gradient(circle at 30% 25%,#fffef7,#f8eed9);box-shadow:inset 0 0 0 2px #fffaf0,0 2px 5px #805d241a}
.reading-dialog,.saved-dialog{width:min(760px,calc(100vw - 24px));max-height:90svh;overflow:auto;border:1px solid #e3d5ba;border-radius:16px;background:#fffdf8;color:var(--ink);padding:24px}
.reading-dialog::backdrop,.saved-dialog::backdrop{background:#21392e99;backdrop-filter:blur(3px)}
.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--action);margin-bottom:12px}.dialog-top h2{font-size:20px;margin:0}.dialog-top button{width:36px;height:36px;border:0;border-radius:50%;background:#f2ede2;color:#725d3d;font-size:25px;flex-shrink:0}
.reading-dialog .reading{display:block!important;position:static;border:0;background:transparent;padding:0}.reading-dialog .reading[hidden]{display:none!important}.reading-board{padding:4px 0 10px}.reading-board .board{width:240px;height:230px}.reading-dialog .consult-button{position:sticky;bottom:0;box-shadow:0 -4px 18px #fffdf8}
.dialog-back{width:100%;padding:10px;min-height:40px;margin-top:16px;background:var(--action-soft);color:var(--action);border:1px solid var(--action-line);border-radius:7px;font-size:14px}
.saved-dialog>p{font-size:14px;line-height:1.8;color:var(--muted)}.saved-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.saved-card{padding:15px;border:1px solid #e3d8c2;border-radius:10px;text-align:left;background:#fff;color:var(--ink);min-width:0}.saved-card>strong{display:block;font-size:15px;line-height:1.6;overflow-wrap:anywhere}.saved-date{display:block;font-size:12px;color:var(--muted);margin-top:7px}.saved-board-preview{width:200px;max-width:100%;height:200px;position:relative;margin:auto}.saved-chart-preview{display:grid;grid-template-columns:repeat(8,1fr);gap:4px;margin-top:15px}.saved-chart-preview .snapshot-piece{position:static;transform:none;width:100%;height:auto;aspect-ratio:1;font-size:20px;border-width:1px}.saved-board-preview .snapshot-piece{width:40px;height:40px;font-size:28px}
@media(max-width:540px){.reading-dialog,.saved-dialog{padding:18px;max-height:92svh}.saved-list{grid-template-columns:1fr}.reading-dialog .reading h2{font-size:21px}.reading-dialog .structure-notes p{font-size:15px;line-height:1.9}}

@font-face{font-family:"Chess Hand";src:url("assets/chess-hand.ttf") format("truetype");font-display:swap;font-weight:400}

.saved-chart-preview{grid-template-columns:repeat(8,minmax(0,1fr))}.saved-chart-preview .snapshot-piece{min-width:0;font-size:18px;line-height:1}.saved-card{overflow:hidden}

.healing-intro>div{min-width:0}.healing-details-copy{display:grid;gap:10px;margin-top:12px}.healing-intro summary{display:none;cursor:pointer;color:var(--action);font-size:13px;line-height:1.7}.healing-intro .healing-complete-note{padding:9px 12px;border-left:2px solid #c9ad78;background:#faf5e9;border-radius:4px;color:#786542}
.chart-pick.covered{background:radial-gradient(circle at 32% 25%,#fffdf5,#f0e3c6);color:#947443;border-color:#c6ad7c;box-shadow:inset 0 0 0 2px #fff9ea,0 2px 5px #94744312}
@media(max-width:540px){.healing-intro{display:block;position:relative;padding:18px 20px}.healing-intro-mark{position:absolute;left:20px;top:18px;font-size:25px}.healing-intro h2{padding-left:34px;font-size:16px;line-height:1.6;margin-bottom:12px}.healing-intro p{font-size:14px;line-height:1.8;letter-spacing:.1px}.healing-intro summary{display:block;padding:10px 0 0;min-height:34px}.healing-intro summary:after{content:" ＋"}.healing-intro details[open] summary:after{content:" －"}.healing-details-copy{gap:12px;margin-top:12px}.healing-intro .healing-complete-note{font-size:13px}}

.completion-seal{container-type:inline-size}.completion-seal small,.clearing-overview .completion-seal small{white-space:nowrap;font-size:min(11px,11cqw);line-height:1.4;letter-spacing:0;flex-shrink:0;text-align:center}


.birthday-section{padding:20px;border:1px solid #c9d9ce;border-radius:18px;background:#fff;margin:20px 0}.birthday-section form{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.birthday-section label{display:grid;gap:8px;flex:1;min-width:130px}.birthday-section input,.birthday-section select{width:100%;min-height:44px;padding:10px;border:1px solid #c9d9ce;border-radius:10px;background:#fafcf9}.birthday-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.birthday-results>div{padding:14px;background:#f0f6f1;border-radius:12px}.birthday-results p{margin:8px 0;font-size:22px;color:#376b58}.birthday-results .birthday-stage{grid-column:1/-1;font-size:15px}@media(max-width:540px){.birthday-results{grid-template-columns:1fr}.birthday-section{padding:16px}.birthday-section button{min-height:44px}}
.coffee-support{display:flex;align-items:center;gap:18px;margin:32px 0 12px;padding:22px 26px;border:1px solid #dfd2b6;border-radius:16px;background:linear-gradient(115deg,#fff9eb,#f1f7f2)}.coffee-icon{font-size:30px;line-height:1;flex-shrink:0}.coffee-support>div{flex:1;min-width:0}.coffee-support p{margin:0 0 6px;line-height:1.7;font-size:16px;color:var(--ink)}.coffee-support small{color:var(--muted);font-size:13px}.coffee-button{padding:12px 18px;border:1px solid #b9cfc2;border-radius:10px;background:#e4eee6;color:#386654;white-space:nowrap;min-height:44px}.coffee-button:disabled{opacity:1;color:#6b8073;background:#eaf0ea}@media(max-width:540px){.coffee-support{flex-wrap:wrap;gap:12px;padding:18px}.coffee-icon{font-size:25px}.coffee-support>div{flex-basis:calc(100% - 40px)}.coffee-button{width:100%}}
.coffee-support{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;padding:20px}.coffee-support p{white-space:nowrap;margin:0;font-size:clamp(11px,2.9vw,16px);letter-spacing:0}.coffee-support>div{min-width:0}.coffee-button{grid-column:2;justify-self:start;width:auto}@media(max-width:600px){.coffee-support{grid-template-columns:1fr;padding:14px 10px;gap:12px}.coffee-icon{display:none}.coffee-button{grid-column:1;justify-self:center;width:auto}}
.coffee-support.coffee-direct{display:flex;justify-content:center;padding:12px 0;border:0;background:none}.coffee-direct .coffee-button{justify-self:auto;white-space:nowrap;padding:12px 22px}

.checklist-reminder{padding:16px 18px;border-radius:12px;border:1px solid #ded0c9;border-left:5px solid #b67b68;background:#fff0e9;color:#4c3a32;font-size:15px;line-height:1.85;white-space:pre-line;margin:14px 0 20px}.reminder-learning{border-color:#cbdce6;border-left-color:#59819b;background:#edf5fa;color:#304c61}.reminder-emotion{border-color:#e3cbd4;border-left-color:#a4607d;background:#fcf0f5;color:#654054}.reminder-career{border-color:#ccddce;border-left-color:#668b70;background:#eff7ef;color:#37513b}.reminder-years{border-color:#dfd3c5;border-left-color:#947455;background:#f7f1e8;color:#5c4938}.reminder-health{border-color:#e3d5b7;border-left-color:#b19a62;background:#fff9e9;color:#63563b}.checklist-item-note,.manual-source-note{white-space:pre-line;line-height:1.8;font-size:14px;color:#786653;margin:10px 0 18px}.manual-legacy-note{font-size:13px;color:#82768c}@media(max-width:540px){.checklist-reminder{padding:12px 14px;font-size:14px;line-height:1.8}.checklist-item-note,.manual-source-note{font-size:13px}}

.auto-compare-layout{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:20px;margin:40px 0}.auto-compare-layout.has-chart{grid-template-columns:minmax(0,1fr) 248px}.auto-compare-layout>.qiyu-chart-results{margin:0;min-width:0}.auto-compare-layout .section-heading{flex-wrap:wrap;gap:12px}.auto-compare-layout #toggle-auto-chart{font-size:13px;min-height:44px}.auto-chart-float{position:sticky;top:12px;align-self:start;max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #dbcfdf;border-radius:18px;padding:14px;background:#fffdfa;box-shadow:0 6px 22px #4932580d;min-width:0}.auto-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;position:sticky;top:-14px;padding:8px 0;background:#fffdfa;z-index:1;color:var(--green)}.auto-chart-heading button{min-width:36px;min-height:36px;padding:4px;border:1px solid #dacee0;border-radius:10px;background:#f7f1f8;color:var(--green);font-size:22px}.auto-chart-float p,.auto-chart-float small{font-size:12px;line-height:1.7}.auto-chart-float .chart-full-board{--piece:24px}.auto-chart-float .chart-full-piece.auto-chart-focus{border-color:#b99454;box-shadow:0 0 0 2px #ddc89c;background:#fff7e6}.auto-chart-float .auto-label-focus{color:#806534;font-weight:700}@media(max-width:850px){.auto-compare-layout.has-chart{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);height:calc(100dvh - 24px);gap:12px}.auto-compare-layout.has-chart .auto-chart-float{grid-row:1;position:relative;top:auto;width:100%;max-height:35dvh;overflow:auto;padding:10px 14px}.auto-compare-layout.has-chart>.qiyu-chart-results{grid-row:2;height:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:4px}.auto-chart-float .chart-full-board{--piece:22px}.auto-chart-float small{display:none}.auto-chart-float #auto-chart-caption{margin:4px 0}.auto-chart-heading{top:-10px;padding:4px 0}.auto-compare-layout #chart-checklist-content{grid-template-columns:1fr}.auto-compare-layout .section-heading{margin-bottom:12px}}

.auto-compare-layout .section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.qiyu-chart-results{min-width:0}.qiyu-chart-results .chart-checklist-section{margin-top:0}.auto-chart-float .chart-full-piece{display:grid;place-items:center;text-align:center}.auto-chart-float .chart-full-piece>span{line-height:1}
.auto-chart-float #auto-chart-board.chart-full-board{display:grid;grid-template-columns:repeat(3,var(--piece)) 104px;grid-template-rows:repeat(17,var(--piece));gap:3px 4px;justify-content:center;width:max-content;max-width:100%;margin:0 auto;padding:8px 6px;background:none;border:0}.auto-chart-float .chart-full-piece{width:var(--piece);height:var(--piece);min-width:0;border-width:1px}.auto-chart-float .chart-full-piece>span{font-size:calc(var(--piece)*.78);line-height:1}.auto-chart-float .chart-full-piece small{display:none}.auto-chart-float .chart-full-label{font-size:11px;line-height:1.5;border-left:0;padding-left:8px}.qiyu-chart-results #toggle-auto-chart{border:1px solid #b6ccbf;border-radius:9px;background:#f1f7f2;color:var(--action);padding:10px 12px}

.chess,.chart-full-piece span,.chart-pick{font-family:'Chess Iansui',serif;font-synthesis:none}


/* 與象棋命盤一致的選棋與閱讀操作。 */
#chart-view>.chart-toolbar{display:flex;flex-wrap:wrap;gap:8px}
#chart-view>.chart-toolbar button[aria-pressed=true]{background:var(--navy);color:#fff;border-color:var(--navy)}
#chart-view>.chart-toolbar button[aria-pressed=false]{background:var(--paper,#fffdf6);color:var(--navy);border:1px solid var(--line)}
.chart-bank.manual-bank{display:grid;grid-template-columns:repeat(7,minmax(0,46px));gap:4px;justify-content:center}
.manual-bank .chart-pick{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:5px 0;gap:2px;line-height:1.2}
.manual-bank .chart-pick.black{grid-row:1}.manual-bank .chart-pick.red{grid-row:2}
.manual-bank .pick-glyph{font-family:'Chess Iansui',serif;font-size:25px;line-height:1}.manual-bank .pick-count{font:11px/1.3 sans-serif;color:var(--muted)}
#chart-checklist-content{display:grid;grid-template-columns:1fr!important}
.chart-operation-note{font-size:13px;line-height:1.7;color:var(--muted)}
.auto-chart-float .chart-full-piece small{display:none}
@media(max-width:650px){.chart-bank.manual-bank{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.manual-bank .pick-glyph{font-size:23px}.manual-bank .chart-pick{min-height:50px}}
