/* 靜月靈籤 · Moon manuscript. Scoped to the result; all earlier rituals remain. */
.jy-atelier #oracle-screen[data-oracle-phase="poem"],#oracle-screen[data-oracle-phase="poem"]{background:radial-gradient(ellipse at 90% 3%,#39484655,transparent 42%),radial-gradient(ellipse at 4% 45%,#43384930,transparent 45%),#080f17!important;scroll-behavior:auto!important;overflow-anchor:none;color:#d8e0e2}
#oracle-screen[data-oracle-phase="poem"] .orc-temple-overlay{display:none}
#oracle-screen[data-oracle-phase="poem"] .orc-body{max-width:1080px!important;padding:24px 24px 36px!important;text-align:left!important}
#oracle-screen[data-oracle-phase="poem"] .orc-topbar{position:sticky;top:0;z-index:20;background:#080f17e8!important;backdrop-filter:blur(16px);border-bottom:1px solid #dec59625!important;box-shadow:none!important}
#oracle-screen .or-result{--or-ink:#332e26;--or-paper:#f2e7cf;--or-gold:#dac49a;font-family:var(--f-body,system-ui,sans-serif);text-align:left;line-height:1.75}
#oracle-screen .or-result *,#oracle-screen .or-result *::before,#oracle-screen .or-result *::after{box-sizing:border-box}
#oracle-screen .or-result [hidden]{display:none!important}
#oracle-screen .or-result h1,#oracle-screen .or-result h2,#oracle-screen .or-poem-line{font-family:var(--f-display,"Noto Serif TC",serif);font-weight:400}
#oracle-screen .or-result :where(p){margin:0}
#oracle-screen .or-result-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0 26px;position:relative;border-bottom:1px solid #dcc99e2b}
#oracle-screen .or-heading-copy{min-width:0;position:relative;z-index:2}
#oracle-screen .or-eyebrow{color:#c4b38e;font-size:10px;line-height:1.8;letter-spacing:2.5px;margin:0 0 12px}
#oracle-screen .or-intro{font-size:13px;color:#aebbbf;letter-spacing:1.5px;margin:0 0 5px}
#oracle-screen .or-result h1{font-size:clamp(30px,4.5vw,46px);line-height:1.5;letter-spacing:2px;color:#f2dfb9;margin:0 0 10px}
#oracle-screen .or-result h1>span{display:inline-block;font-size:15px;vertical-align:middle;letter-spacing:2px;margin-left:15px;padding-left:15px;border-left:1px solid #dcc99e4d;color:#b9c8c8}
#oracle-screen .or-confirm{display:inline-flex;gap:8px;align-items:center;color:#bad7c9;font-size:12px;letter-spacing:1px}
#oracle-screen .or-confirm>span{font-size:20px;color:#e2cca0}
#oracle-screen .or-portrait{flex:0 0 112px;height:150px;border:1px solid #d9c59a60;border-radius:70px 70px 12px 12px;position:relative;overflow:hidden;background:#17242b;box-shadow:0 0 0 5px #101b21,0 0 0 6px #dac49a15,0 12px 35px #0005;isolation:isolate}
#oracle-screen .or-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 20%;border-radius:inherit;opacity:.94;transform:scale(1.9);transform-origin:50% 8%}
#oracle-screen .or-portrait::after{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(180deg,#f7dba410,transparent 60%,#0b172dcc);pointer-events:none}
#oracle-screen .or-portrait>span{position:absolute;width:9px;height:9px;border:1px solid #edd8ab;background:#d7be8b;transform:rotate(45deg);top:4px;right:7px;z-index:1;box-shadow:0 0 16px #ffe3a570;animation:or-star-light 5s ease-in-out infinite}
#oracle-screen .or-question{margin:22px 0 0;border-left:2px solid #cbb18585;padding:1px 0 1px 17px}
#oracle-screen .or-question>span{font-size:11px;letter-spacing:1px;color:#acae9f}
#oracle-screen .or-question p{margin-top:5px;font-size:17px;line-height:1.8;color:#e1e5e0;overflow-wrap:anywhere}
#oracle-screen .or-result-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:28px;align-items:start;margin-top:28px}
#oracle-screen .or-poem-column{min-width:0}
#oracle-screen .or-manuscript{position:relative;isolation:isolate;border:1px solid #e2c899;border-radius:4px 22px 4px 22px;padding:27px 26px 16px;background:radial-gradient(ellipse at 0 0,#fffae9bb,transparent 64%),repeating-linear-gradient(90deg,#826b4310 0 1px,transparent 1px 4px),linear-gradient(135deg,#f7efdc,#e9d9b9);color:var(--or-ink);box-shadow:0 5px 0 #766448,0 7px 0 #1a242a,0 18px 38px #0005,inset 0 1px #fff9;animation:or-paper-arrive .65s ease-out both}
#oracle-screen .or-manuscript::before{content:'';position:absolute;inset:8px;border:1px solid #ae90644a;border-radius:1px 15px 1px 15px;pointer-events:none;z-index:-1}
#oracle-screen .or-paper-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-bottom:18px;border-bottom:1px solid #91734d35}
#oracle-screen .or-paper-head>span{font-size:12px;letter-spacing:2px;color:#7a6341}
#oracle-screen .or-layout-options{display:flex;border:1px solid #8e755c44;border-radius:25px;padding:3px;background:#bd9f6912}
#oracle-screen .or-layout-options button{font:12px/1.4 var(--f-body,system-ui,sans-serif);color:#79684e;background:transparent;border:0;border-radius:20px;min-height:44px;min-width:45px;padding:7px 9px;cursor:pointer}
#oracle-screen .or-layout-options button[aria-pressed="true"]{color:#f7edd8;background:#4b4b3f;box-shadow:0 2px 5px #4a40232a}
#oracle-screen .or-poem-lines{padding:28px 0 26px;text-align:center;min-height:235px;display:flex;flex-direction:column;justify-content:center;gap:9px}
#oracle-screen .or-poem-line{margin:0;line-height:1.85;font-size:clamp(21px,3.7vw,29px);letter-spacing:3px;color:#332e26;text-shadow:0 1px #fff6;white-space:nowrap;animation:none!important}
#oracle-screen .or-poem-lines[data-layout="vertical"]{flex-direction:row-reverse;align-items:center;gap:20px;min-height:270px}
#oracle-screen .or-poem-lines[data-layout="vertical"] .or-poem-line{writing-mode:vertical-rl;text-orientation:upright;line-height:1.5;font-size:25px;letter-spacing:6px}
#oracle-screen .or-paper-foot{border-top:1px solid #91734d35;padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:16px}
#oracle-screen .or-paper-foot>span:first-child{font-size:12px;line-height:1.8;letter-spacing:1px;color:#7a6648}
#oracle-screen .or-paper-seal{flex:0 0 30px;padding:4px 2px;border:1px solid #8b594d;color:#8b594d;writing-mode:vertical-rl;font-family:var(--f-display,serif);font-size:15px;letter-spacing:3px;line-height:1.5;transform:rotate(-5deg);box-shadow:inset 0 0 0 2px #f1e5cc,inset 0 0 0 3px #8b594d80}
#oracle-screen .or-paper-brand{display:flex;justify-content:space-between;gap:8px;margin-top:19px;font-size:9px;letter-spacing:1.5px;color:#8c7756}
#oracle-screen .or-save-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:21px 0 15px}
#oracle-screen .or-save-actions button,#oracle-screen .or-result-footer button{min-height:46px;border:1px solid #d7c59c32;border-radius:11px;color:#dfd4bf;background:#15212a;font:13px/1.6 var(--f-body,system-ui,sans-serif);padding:10px 8px;cursor:pointer;transition:background .2s,border-color .2s}
#oracle-screen .or-save-actions button>span{display:inline-block;margin-right:5px;color:#e1c898;font-size:19px;vertical-align:middle}
#oracle-screen .or-source{border-top:1px solid #d7c59c26;padding-top:3px;color:#aebdc1;font-size:13px}
#oracle-screen .or-source summary{list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:48px;cursor:pointer;color:#cabb9e;font-size:12px;letter-spacing:.5px}
#oracle-screen .or-source summary::-webkit-details-marker{display:none}
#oracle-screen .or-source summary>span{font-size:18px;transition:transform .2s}
#oracle-screen .or-source[open] summary>span{transform:rotate(45deg)}
#oracle-screen .or-source p{margin:4px 0 10px;font-size:13px;line-height:1.85}
#oracle-screen .or-source a{display:inline-flex;align-items:center;min-height:44px;color:#ddc69a;text-underline-offset:5px}
#oracle-screen .or-reading-panel.orc-ai-prompt-card{min-width:0;max-width:none!important;width:100%;margin:0!important;padding:26px 24px 20px!important;border:1px solid #bdc9c632!important;border-radius:20px!important;background:radial-gradient(ellipse at 0 0,#63766726,transparent 70%),linear-gradient(145deg,#1b2932,#101925)!important;box-shadow:inset 0 1px #ffffff0d,0 10px 28px #0003!important;animation:none!important;overflow:visible}
#oracle-screen .or-reading-panel .orc-ai-title{font:400 29px/1.6 var(--f-display,serif)!important;letter-spacing:2px!important;color:#f1dfb9!important;margin:0 0 14px!important;padding:0!important;text-shadow:none!important;text-align:left!important}
#oracle-screen .or-reading-panel .orc-ai-desc{font:14px/1.9 var(--f-body,system-ui,sans-serif)!important;color:#b6c5c9!important;background:none!important;padding:0!important;margin:0 0 20px!important;letter-spacing:0!important;text-align:left!important}
#oracle-screen .or-reading-points{list-style:none;margin:0 0 24px;padding:0}
#oracle-screen .or-reading-points>li{display:flex;gap:12px;padding:13px 0;border-top:1px solid #c7cbb51b}
#oracle-screen .or-reading-points>li>span{font:11px/1.8 var(--f-body,system-ui,sans-serif);color:#bfa778;padding-top:2px;letter-spacing:1px}
#oracle-screen .or-reading-points strong{font-size:14px;font-weight:500;color:#dedfd6}
#oracle-screen .or-reading-points p{font-size:12px;line-height:1.85;color:#a5b5bc;margin:3px 0 0}
#oracle-screen .or-reading-panel .orc-ai-copy-btn{width:100%!important;min-height:56px;margin:0!important;padding:14px 12px!important;border-radius:11px!important;border:1px solid #f4dfb1!important;background:linear-gradient(115deg,#f5e8c8,#d4b785)!important;color:#292c29!important;font:600 15px/1.6 var(--f-body,system-ui,sans-serif)!important;letter-spacing:.5px!important;text-shadow:none!important;box-shadow:inset 0 1px #fff8,0 3px #776343,0 9px 18px #0004!important;cursor:pointer}
#oracle-screen .or-copy-status{font-size:12px;line-height:1.8;color:#b2c6bc;min-height:42px;margin:12px 0 6px!important;text-align:center}
#oracle-screen .or-provider-label{font-size:11px;letter-spacing:.5px;color:#a2b0b6;margin:18px 0 12px!important;border-top:1px solid #c7cbb51b;padding-top:16px}
#oracle-screen .or-reading-panel .orc-ai-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;padding:0!important;margin:0!important;background:none!important}
#oracle-screen .or-reading-panel .orc-ai-shortcut{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px!important;padding:12px 4px!important;min-height:78px!important;border:1px solid #c3cab226!important;background:#101c26!important;border-radius:12px!important;box-shadow:inset 0 1px #ffffff05!important;cursor:pointer}
#oracle-screen .or-reading-panel .orc-ai-sc-icon{width:25px!important;height:25px!important;object-fit:contain;border-radius:7px!important;margin:0!important;box-shadow:none!important}
#oracle-screen .or-reading-panel .orc-ai-sc-name{font:500 12px/1.4 var(--f-body,system-ui,sans-serif)!important;color:#ccd7d7!important;letter-spacing:0;white-space:normal;overflow-wrap:anywhere}
#oracle-screen .or-reading-panel .jf-more-ai{margin-top:12px!important;border:0!important;background:none!important;padding:0!important}
#oracle-screen .or-reading-panel .jf-more-ai summary{font-size:12px;color:#bfc6b9;min-height:44px;cursor:pointer}
#oracle-screen .or-reading-panel .jf-more-grid{padding-top:10px!important}
#oracle-screen .or-manual-copy{margin:12px 0;padding:13px;border:1px solid #d6c08966;border-radius:10px;background:#0b141d}
#oracle-screen .or-manual-copy label{display:block;margin-bottom:10px;font-size:12px;color:#decaa3}
#oracle-screen .or-manual-copy textarea{display:block;width:100%;resize:vertical;min-height:130px;border:1px solid #d6c08940;border-radius:7px;background:#080f17;padding:10px;color:#dae0dd;font:16px/1.7 var(--f-body,system-ui,sans-serif)}
#oracle-screen .or-result-footer{text-align:center;margin-top:34px;padding-top:26px;border-top:1px solid #c7cbb524}
#oracle-screen .or-result-footer>p{font:400 17px/1.8 var(--f-display,serif);letter-spacing:1px;color:#cfcbb8}
#oracle-screen .or-result-footer>div{display:flex;gap:12px;justify-content:center;margin:18px 0 24px}
#oracle-screen .or-result-footer button{min-width:110px;background:transparent}
#oracle-screen .or-result-footer small{font-size:10px;letter-spacing:2px;color:#859599}
#oracle-screen .or-result :is(button,a,summary,textarea):focus-visible{outline:2px solid #d7b880;outline-offset:4px}
@keyframes or-paper-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes or-star-light{50%{box-shadow:0 0 24px #ffe3a580;opacity:.65}}
@media(hover:hover){#oracle-screen .or-save-actions button:hover,#oracle-screen .or-result-footer button:hover,#oracle-screen .or-reading-panel .orc-ai-shortcut:hover{background:#24313a!important;border-color:#d8c08a80!important}}
@media(max-width:760px){#oracle-screen[data-oracle-phase="poem"] .orc-body{padding:20px 20px 32px!important;max-width:570px!important}#oracle-screen .or-result-grid{grid-template-columns:minmax(0,1fr);gap:24px;margin-top:22px}#oracle-screen .or-reading-panel.orc-ai-prompt-card{padding:24px 22px 19px!important}#oracle-screen .or-reading-panel .orc-ai-title br{display:none}#oracle-screen .or-reading-panel .orc-ai-title{font-size:25px!important}#oracle-screen .or-manuscript{padding:22px 23px 15px}#oracle-screen .or-poem-line{font-size:24px;letter-spacing:3px}#oracle-screen .or-poem-lines{min-height:232px}#oracle-screen .or-portrait{flex-basis:95px;height:132px}#oracle-screen .or-result h1{font-size:30px}#oracle-screen .or-result h1>span{font-size:14px;margin-left:10px;padding-left:10px}}
@media(max-width:380px){#oracle-screen[data-oracle-phase="poem"] .orc-body{padding-inline:16px!important}#oracle-screen .or-manuscript{padding:19px 18px 14px}#oracle-screen .or-result-heading{gap:12px}#oracle-screen .or-result h1{font-size:27px;letter-spacing:1px}#oracle-screen .or-result h1>span{font-size:12px;margin-left:8px;padding-left:8px}#oracle-screen .or-portrait{flex-basis:78px;height:116px}#oracle-screen .or-eyebrow{font-size:9px;letter-spacing:1.6px}#oracle-screen .or-poem-line{font-size:22px;letter-spacing:2px}#oracle-screen .or-poem-lines[data-layout="vertical"]{gap:14px}#oracle-screen .or-poem-lines[data-layout="vertical"] .or-poem-line{font-size:23px}#oracle-screen .or-reading-panel.orc-ai-prompt-card{padding:22px 18px 17px!important}}
@media(prefers-reduced-motion:reduce){#oracle-screen .or-result *,#oracle-screen .or-result *::before,#oracle-screen .or-result *::after{animation:none!important;transition:none!important}}
