.palm-theatre{min-width:0}.theatre-heading{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-bottom:16px}.theatre-kicker{font-size:12px;color:#b4c9bb}.theatre-heading h2{font:400 25px/1.5 "SimSun",serif;margin:7px 0;color:#f7eacc}#guideMode{font-size:12px;border:1px solid #607a67;border-radius:20px;padding:8px 12px;white-space:nowrap;color:#d9d4b7}.scene-status{font-size:12px;line-height:1.7;color:#c3d2c7;margin:12px 0}.route-choices,.director-controls{display:flex;gap:8px;flex-wrap:wrap}.route-choices button,.director-controls button{min-height:44px;border:1px solid #668072;background:#1c3d3e;border-radius:10px;padding:10px 13px;color:#ecedd9;font-size:13px}.route-choices button[aria-pressed=true]{background:#516855;border-color:#ccb47c}.route-swatch{width:7px;height:7px;display:inline-block;border-radius:50%;margin-right:8px}.route-swatch.heart{background:#32b419}.route-swatch.head{background:#f01ebe}.route-swatch.life{background:#00bef0}.director-controls{margin-top:11px}.director-controls button{background:transparent;border-color:transparent;text-decoration:underline;text-underline-offset:5px;color:#e3cf9e;font-size:12px}.director-controls #continueGuide{background:#ead1a0;border-color:#ead1a0;color:#213d39;text-decoration:none}.has-hand .cat-stage{display:none}.has-hand .experience{max-width:1570px;grid-template-columns:minmax(0,1.3fr) minmax(310px,.9fr);gap:40px;align-items:start;padding-top:10px}.has-hand .conversation{padding-top:16px;max-width:none}.has-hand h1{font-size:30px;line-height:1.5;margin:17px 0}.has-hand .speech{font-size:14px;line-height:1.9;min-height:0}.has-hand .journey{margin:16px 0}.discovery-panel{display:none}.has-hand .discovery-panel{display:block;margin:20px 0;border-top:1px solid #577668;padding-top:15px}#showDiscoveries{display:flex;justify-content:space-between;align-items:center;width:100%;background:none;border:0;color:#efdbb6;min-height:44px;font-size:15px;padding:0 0 8px}#discoveryCount{border:1px solid #8e956b;background:#3b5542;border-radius:20px;padding:2px 10px;font-size:12px}.discovery-list{display:grid;gap:8px;max-height:245px;overflow:auto;padding-right:5px;scrollbar-color:#688876 #163739}.discovery-item{display:flex;flex-direction:column;gap:6px;text-align:left;width:100%;border:1px solid #4c6c59;border-radius:10px;background:#214345;padding:13px 15px;min-height:58px}.discovery-item span{font-size:14px;color:#f4e6c7}.discovery-item small{font-size:11px;color:#b9cfc2}.discovery-item.seen{background:#183738;border-color:#355f4a}.discovery-item.seen span{color:#bdcfc2}.discovery-empty{font-size:13px;color:#bfd0c4;line-height:1.8}.evidence-panel{margin:22px 0;padding:22px;border:1px solid #ad9d6f;border-radius:16px;background:#294740}.evidence-eyebrow{font-size:12px;color:#e0c98a}.evidence-panel h2{font:400 25px/1.45 "SimSun",serif;margin:14px 0;color:#fff2ce}.evidence-panel h3{font-size:12px;margin:18px 0 8px;color:#c1d9c5}.evidence-panel p{font-size:14px;line-height:1.9;margin:8px 0}.evidence-panel .evidence-location{font-size:11px;color:#c4d1bc}.evidence-panel small{font-size:11px;color:#c8d6c0}.evidence-panel button{display:block;margin-top:20px;border:1px solid #d1bc83;color:#f4db9f;border-radius:10px;background:#264c45;min-height:44px;padding:10px 15px;font-size:13px}#evidenceMeaning{border-top:1px solid #6e8362;padding-top:15px;color:#e5e8cf}.has-hand .record-link{min-height:44px}.has-hand .gentle-note{margin-top:22px}.has-hand .reveal{background:transparent;padding:15px;border-color:#486958}.has-hand .reveal h3{font-size:20px!important}.has-hand .domain-choices button{min-height:44px}body.has-hand>footer{padding-top:30px}@media(max-width:800px){.has-hand .experience{display:flex;gap:16px;padding:10px 5% 20px}.palm-theatre{width:100%}.theatre-heading h2{font-size:20px}.theatre-heading{margin-bottom:10px}.theatre-kicker{font-size:11px}.route-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.route-choices button{padding:8px 5px;font-size:11px}.route-swatch{margin-right:4px}.director-controls{justify-content:space-between;gap:2px}.director-controls button{font-size:11px;padding:9px}.has-hand .conversation{padding:0}.has-hand h1{font-size:25px;margin-top:12px}.evidence-panel{padding:17px}.discovery-list{max-height:200px}.has-hand .journey-track{font-size:11px}.has-hand .gentle-note{font-size:11px}}

.reading-toggle{display:none}.has-hand .reading-toggle{display:block;min-height:44px;margin:15px 0}.has-hand:not(.show-reading) #reveal,.has-hand:not(.show-reading) #domainChoices{display:none!important}@media(min-width:801px){.has-hand .palm-theatre{position:sticky;top:20px}}
.quest-hud{position:absolute;z-index:4;left:22px;top:22px;width:210px;padding:14px 16px;border:1px solid #d9bf7d70;border-radius:16px;background:#102e2bd9;color:#fff0c7;box-shadow:0 12px 30px #00191e55;pointer-events:none;backdrop-filter:blur(8px)}.quest-hud>span{font-size:10px;letter-spacing:2px;color:#d9c188}.quest-hud>strong{display:block;margin-top:8px;font-size:13px;line-height:1.45}.quest-dots{display:flex;gap:7px;margin-top:9px}.quest-dots i{width:28px;height:4px;border-radius:5px;background:#6b7566}.quest-dots i.done{background:#f3d071;box-shadow:0 0 8px #f3d071}.quest-dots i.active{background:#fff0b7;animation:quest-dot 1.1s ease-in-out infinite}@keyframes quest-dot{50%{transform:scaleX(.65);opacity:.65}}

/* One large stage owns the experience; the evidence shelf follows below. */
.has-hand .experience{display:block;max-width:1800px;padding:8px 3vw 40px}.has-hand .palm-theatre{position:relative;top:auto;width:100%}.theatre-heading h2{font-size:30px}.story-stage-wrap{position:relative}.story-stage-wrap .palm-stage{height:78vh;min-height:650px;max-height:1000px;border:1px solid #a49c6544}.story-caption{position:absolute;right:24px;top:28px;width:clamp(230px,24%,350px);padding:23px;background:linear-gradient(135deg,#163b3bf5,#102d31ec);border:1px solid #a9a27670;border-radius:20px;box-shadow:0 18px 50px #001b2640;pointer-events:none}.story-caption>span{color:#ddc082;font-size:12px;letter-spacing:2px}.story-caption h2{font:400 26px/1.5 "SimSun",serif;color:#fff0c6;margin:14px 0}.story-caption p{font-size:15px;line-height:1.9;color:#dfebdc;margin:0}.story-caption button{pointer-events:auto;margin-top:18px;min-height:48px;width:100%;padding:10px 12px;border-radius:12px;border:1px solid #f2d293;background:#efd69e;color:#173b39;font-size:14px;cursor:pointer}.story-chapters{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0}.story-chapters button{flex:1;min-height:48px;padding:12px;background:#193d3c;border:1px solid #6e8764;color:#e2d8b1;border-radius:12px;font:inherit;font-size:14px;cursor:pointer}.story-chapters button[aria-pressed=true]{background:#d9bd81;color:#12342f;border-color:#f4daa2}.has-hand .conversation{margin:28px auto 0;max-width:1180px;display:grid;grid-template-columns:1fr 1fr;gap:0 32px}.has-hand .conversation>.speaker,.has-hand .conversation>h1,.has-hand .conversation>.speech{display:none}.has-hand .conversation>.evidence-panel{grid-column:1;grid-row:1 / span 5;margin:0}.has-hand .conversation>.discovery-panel{grid-column:2;grid-row:1 / span 5;margin:0}.has-hand .conversation>.journey{grid-column:1 / -1}.has-hand .conversation>.upload-panel,.has-hand .conversation>.selected-panel,.has-hand .conversation>.recovery{grid-column:1 / -1}.has-hand .conversation>.reveal{grid-column:1 / -1}.has-hand .conversation>.gentle-note{grid-column:1 / -1}.has-hand .route-choices{display:inline-flex}.has-hand .director-controls{display:inline-flex;margin:0 0 0 18px}.has-hand .scene-status{margin:8px 0}.has-hand .discovery-list{max-height:330px}.has-hand .evidence-panel h2{font-size:28px}.has-hand .evidence-panel p{font-size:16px}.story-chapters button:focus-visible,.story-caption button:focus-visible{outline:3px solid #f0d18a;outline-offset:3px}
@media(max-width:1000px){.story-caption{width:235px;right:15px;top:15px;padding:16px}.story-caption h2{font-size:22px}.story-caption p{font-size:13px}.has-hand .director-controls{margin:12px 0 0;display:flex}.story-stage-wrap .palm-stage{min-height:590px}}
@media(max-width:650px){.has-hand .experience{padding:8px 12px 25px}.theatre-heading{align-items:flex-start}.theatre-heading h2{font-size:22px}.theatre-heading__tools{max-width:154px;flex-wrap:wrap;justify-content:flex-end}.theatre-heading__tools #guideMode{width:100%;text-align:right}.story-stage-wrap .palm-stage{height:76svh;min-height:500px;max-height:760px}.quest-hud{left:10px;top:10px;width:170px;padding:10px 12px}.quest-hud>strong{font-size:11px}.quest-dots i{width:21px}.story-caption{position:relative;inset:auto;width:auto;padding:17px 20px;margin:-2px 0 0;border-radius:0 0 18px 18px}.story-caption h2{font-size:22px;margin:8px 0}.story-caption p{font-size:14px}.story-caption button{margin-top:12px}.story-chapters{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.story-chapters button{padding:8px 3px;font-size:12px}.has-hand .conversation{display:block;margin-top:24px}.has-hand .conversation>.discovery-panel{margin-top:20px}.has-hand .route-choices{display:flex;width:100%}.route-choices button{flex:1}.has-hand .director-controls{gap:7px}.director-controls button{font-size:12px;min-height:44px}.has-hand .evidence-panel h2{font-size:24px}}

/* Palm-stage folding and grounded follow-up chat. */
.theatre-heading__tools{display:flex;align-items:center;gap:8px}.theatre-heading__tools>button{min-height:38px;padding:7px 12px;border:1px solid #76658a;border-radius:18px;background:#171020;color:#ead8a8;font:inherit;font-size:12px;cursor:pointer}.theatre-heading__tools>button:hover,.theatre-heading__tools>button:focus-visible{border-color:#e4c675;outline:none}.theatre-heading__tools #newPalmFromStage{border-color:#a48a51;background:#2c2030;color:#f0d68e}.palm-theatre.is-stage-collapsed .story-stage-wrap{display:none}.palm-theatre.is-stage-collapsed .theatre-heading{padding:12px 16px;border:1px solid #5f4b70;border-radius:16px;background:#160f20}.palm-theatre.is-stage-collapsed .theatre-heading h2{font-size:18px;margin:3px 0}.palm-theatre.is-stage-collapsed .story-chapters,.palm-theatre.is-stage-collapsed .scene-status{display:none}.quest-hud,.story-caption{transition:opacity .28s ease,visibility .28s ease,transform .28s ease}.palm-theatre.hide-left-stage-note .quest-hud,.palm-theatre.hide-right-stage-note .story-caption{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-8px)}
.interpretation-finish p{margin:10px 0 0;color:#c9d4c8;font-size:13px;line-height:1.7}.interpretation-finish__actions{display:flex;justify-content:center;gap:9px;margin-top:17px}.interpretation-finish button{pointer-events:auto;min-height:44px;padding:9px 18px;border:1px solid #f1d58c;border-radius:22px;background:#ead195;color:#1b3432;font:inherit;cursor:pointer}.interpretation-finish.is-leaving{animation:interpretation-finish-out .32s ease both}
.palm-chat{max-width:1180px;margin:26px auto 0;padding:24px;border:1px solid #624d75;border-radius:22px;background:linear-gradient(145deg,#181020,#100b18);box-shadow:0 18px 50px #06030c70;color:#eee5f0}.palm-chat__head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.palm-chat__head span{color:#d8bd73;font-size:11px;letter-spacing:3px}.palm-chat__head h2{margin:8px 0 5px;font:500 24px/1.4 "SimSun",serif;color:#f2d993}.palm-chat__head p{margin:0;color:#aa9db4;font-size:13px}.palm-chat__head button{border:0;background:none;color:#a999b2;text-decoration:underline;text-underline-offset:4px;cursor:pointer}.palm-chat__scopes{display:flex;gap:7px;overflow:auto;margin:20px 0 13px;padding-bottom:5px;scrollbar-width:thin}.palm-chat__scopes button{flex:0 0 auto;min-height:38px;padding:7px 12px;border:1px solid #51415f;border-radius:20px;background:#120c19;color:#cfc2d5;cursor:pointer}.palm-chat__scopes button[aria-pressed=true]{border-color:#dfbf6c;background:#33243a;color:#f4dc9c}.palm-chat__messages{display:flex;flex-direction:column;gap:12px;max-height:470px;overflow:auto;padding:5px 3px}.palm-chat__message{max-width:min(760px,88%);padding:13px 16px;border-radius:16px;line-height:1.8;white-space:pre-wrap}.palm-chat__message--user{align-self:flex-end;background:#3b2a43;color:#fff}.palm-chat__message--assistant{align-self:flex-start;border:1px solid #5a4967;background:#21172a;color:#eee4ed}.palm-chat__message small{display:block;margin-top:8px;color:#bca36a;font-size:11px}.palm-chat__message--thinking{color:#b8aebc}.palm-chat__suggestions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:16px 0}.palm-chat__suggestions h3{grid-column:1/-1;margin:6px 0 0;color:#d6bd79;font-size:12px}.palm-chat__suggestions button{min-height:58px;padding:10px 12px;text-align:left;border:1px solid #5a4868;border-radius:13px;background:#191020;color:#ddd2df;line-height:1.45;cursor:pointer}.palm-chat__suggestions button:hover,.palm-chat__suggestions button:focus-visible{border-color:#dfc477;background:#2a1b32;outline:none}.palm-chat__form label{display:block;margin-bottom:8px;color:#cdb976;font-size:12px}.palm-chat__form>div{display:flex;gap:9px}.palm-chat__form input{flex:1;min-width:0;min-height:48px;padding:10px 14px;border:1px solid #5c4968;border-radius:14px;background:#0d0912;color:#f4edf3;font:inherit}.palm-chat__form input:focus{border-color:#dfc574;outline:2px solid #dfc57435}.palm-chat__form button{min-width:98px;border:1px solid #e4c777;border-radius:14px;background:#e3c779;color:#1b1420;font:inherit;font-weight:700;cursor:pointer}.palm-chat__note{display:block;margin-top:11px;color:#83778a;line-height:1.6}@media(max-width:700px){.theatre-heading__tools{flex-direction:column;align-items:flex-end}.palm-chat{padding:18px 14px}.palm-chat__suggestions{grid-template-columns:1fr}.palm-chat__form>div{align-items:stretch}.palm-chat__form button{min-width:82px}.palm-chat__message{max-width:94%}}
.chat-familiar{position:relative;display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;gap:17px;min-height:132px;margin:18px 0 8px;padding:8px 20px 8px 8px;border:1px solid #6b5678;border-radius:18px;background:radial-gradient(circle at 75px 58px,#7e5b9138,transparent 34%),linear-gradient(135deg,#201429,#130d1b);overflow:hidden;isolation:isolate;transition:opacity .32s ease,transform .32s ease,min-height .32s ease,margin .32s ease,padding .32s ease}.chat-familiar[hidden]{display:none!important}.chat-familiar.is-leaving{opacity:0;transform:translateY(-8px) scale(.985)}.chat-familiar__scene{position:relative;width:150px;height:116px;align-self:end}.chat-familiar__cat{position:absolute;z-index:3;left:17px;bottom:-2px;width:116px;height:104px;overflow:visible;filter:drop-shadow(0 8px 10px #05020a88);transform-origin:50% 88%;animation:chat-cat-breathe 2.8s ease-in-out infinite}.chat-familiar__tail{fill:none;stroke:#ddc9a4;stroke-width:12;stroke-linecap:round;transform-origin:118px 102px;animation:chat-tail 2.4s ease-in-out infinite}.chat-familiar__robe{fill:#254f4e;stroke:#d1b776;stroke-width:1.5}.chat-familiar__ear,.chat-familiar__head,.chat-familiar__paw{fill:#efdfbe;stroke:#c6b695;stroke-width:1}.chat-familiar__inner-ear{fill:#d9a798}.chat-familiar__eyes{fill:#254c43;transform-origin:87px 54px;animation:chat-blink 5.5s infinite}.chat-familiar__eyes circle{fill:#fffbea}.chat-familiar__face{fill:none;stroke:#88765e;stroke-width:2;stroke-linecap:round}.chat-familiar__crescent{fill:#d5ac5f}.chat-familiar__moon{position:absolute;z-index:1;left:23px;top:9px;width:82px;height:82px;border:1px solid #e4c97c55;border-radius:50%;box-shadow:0 0 34px #b27adf40,inset 0 0 25px #efd38a17;animation:chat-moon 4s ease-in-out infinite}.chat-familiar__spark{position:absolute;z-index:5;width:6px;height:6px;border-radius:50%;background:#f4dc8b;box-shadow:0 0 9px #f4dc8b}.chat-familiar__spark::before,.chat-familiar__spark::after{content:"";position:absolute;left:50%;top:50%;background:#f4dc8b;transform:translate(-50%,-50%)}.chat-familiar__spark::before{width:1px;height:15px}.chat-familiar__spark::after{width:15px;height:1px}.chat-familiar__spark.spark-a{left:16px;top:29px;animation:chat-spark 1.9s .2s ease-in-out infinite}.chat-familiar__spark.spark-b{right:17px;top:22px;animation:chat-spark 2.3s 1s ease-in-out infinite}.chat-familiar__spark.spark-c{right:7px;bottom:24px;animation:chat-spark 2.1s .55s ease-in-out infinite}.chat-familiar__book{position:absolute;z-index:6;left:45px;bottom:2px;width:68px;height:31px;display:flex;opacity:0;transform:translateY(15px) scale(.75);transition:opacity .25s,transform .35s cubic-bezier(.18,1.3,.3,1)}.chat-familiar__book::before,.chat-familiar__book::after{content:"";flex:1;border:1px solid #d6bd76;background:#3e2a4c}.chat-familiar__book::before{border-radius:7px 1px 5px 8px;transform:skewY(-8deg)}.chat-familiar__book::after{border-radius:1px 7px 8px 5px;transform:skewY(8deg)}.chat-familiar__book i{position:absolute;left:50%;top:3px;bottom:0;width:1px;background:#ead897}.chat-familiar__book b{position:absolute;z-index:1;top:8px;color:#f0d88e;font:500 10px "SimSun",serif}.chat-familiar__book b:nth-of-type(1){left:14px}.chat-familiar__book b:nth-of-type(2){right:14px}.chat-familiar__scroll{position:absolute;z-index:2;right:2px;top:33px;width:58px;height:48px;padding:10px 9px;border:1px solid #c8aa6870;border-radius:4px;background:#dcc995;opacity:0;transform:translateX(22px) rotate(4deg);transition:opacity .25s,transform .35s}.chat-familiar__scroll i{display:block;height:2px;margin:5px 0;background:#765f69aa;transform-origin:left}.chat-familiar__orb{position:absolute;z-index:6;left:59px;bottom:6px;width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fffde8,#e9c778 58%,#9a6849);color:#7e526f;box-shadow:0 0 22px #e5c477;opacity:0;transform:scale(.55);transition:opacity .25s,transform .35s}.chat-familiar__copy{min-width:0;padding:10px 0}.chat-familiar__copy span{display:block;color:#bda3d0;font-size:10px;letter-spacing:2px}.chat-familiar__copy strong{display:block;margin:7px 0 5px;color:#f0d68f;font:500 19px/1.45 "SimSun",serif}.chat-familiar__copy small{display:block;color:#b9adbe;font-size:12px;line-height:1.65}.chat-familiar[data-action=read] .chat-familiar__book,.chat-familiar[data-action=compare] .chat-familiar__scroll,.chat-familiar[data-action=weave] .chat-familiar__scroll{opacity:1;transform:none}.chat-familiar[data-action=read] .chat-familiar__eyes{animation:chat-read-eyes 1.7s ease-in-out infinite}.chat-familiar[data-action=read] .paw-left{transform:translate(-5px,-5px) rotate(-16deg)}.chat-familiar[data-action=read] .paw-right{transform:translate(5px,-5px) rotate(16deg)}.chat-familiar[data-action=stargaze] .chat-familiar__orb,.chat-familiar[data-action=summon] .chat-familiar__orb,.chat-familiar[data-action=complete] .chat-familiar__orb{opacity:1;transform:scale(1)}.chat-familiar[data-action=stargaze] .chat-familiar__cat{animation:chat-look-up 2.1s ease-in-out infinite}.chat-familiar[data-action=think] .chat-familiar__cat{animation:chat-think 2.3s ease-in-out infinite}.chat-familiar[data-action=compare] .chat-familiar__scroll i{animation:chat-line-check 1.5s ease-in-out infinite}.chat-familiar[data-action=weave] .chat-familiar__scroll{filter:drop-shadow(-18px 4px 9px #d5b2ff88)}.chat-familiar[data-action=weave] .chat-familiar__scroll i{animation:chat-write-line 1.1s ease-in-out infinite}.chat-familiar[data-action=complete] .chat-familiar__cat{animation:chat-bow 1.2s ease-in-out 2}.chat-familiar[data-action=complete] .chat-familiar__spark{animation-duration:.65s}.chat-familiar[data-action=error] .chat-familiar__cat{animation:chat-uncertain 1.8s ease-in-out infinite}.chat-familiar[data-action=error] .chat-familiar__spark{opacity:.25}@keyframes chat-cat-breathe{50%{transform:translateY(-3px)}}@keyframes chat-tail{50%{transform:rotate(8deg)}}@keyframes chat-blink{0%,45%,49%,100%{transform:scaleY(1)}47%{transform:scaleY(.08)}}@keyframes chat-read-eyes{0%,100%{transform:translateY(2px) scaleY(.65)}50%{transform:translate(2px,3px) scaleY(.55)}}@keyframes chat-moon{50%{transform:scale(1.07);opacity:.62}}@keyframes chat-spark{0%,100%{opacity:.18;transform:scale(.45) rotate(0)}50%{opacity:1;transform:scale(1) rotate(90deg)}}@keyframes chat-look-up{0%,100%{transform:rotate(0) translateY(0)}50%{transform:rotate(-5deg) translateY(-5px)}}@keyframes chat-think{0%,100%{transform:rotate(0)}45%{transform:rotate(5deg) translateY(-3px)}}@keyframes chat-line-check{0%{transform:scaleX(.25)}55%,100%{transform:scaleX(1)}}@keyframes chat-write-line{0%{transform:scaleX(.08);opacity:.35}70%,100%{transform:scaleX(1);opacity:1}}@keyframes chat-bow{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(8px) rotate(2deg)}}@keyframes chat-uncertain{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(3deg)}}@media(max-width:700px){.chat-familiar{grid-template-columns:100px minmax(0,1fr);gap:10px;min-height:110px;padding:7px 12px 7px 4px}.chat-familiar__scene{width:100px;height:96px;transform:scale(.82);transform-origin:left bottom}.chat-familiar__copy strong{font-size:16px}.chat-familiar__copy small{font-size:11px}}@media(prefers-reduced-motion:reduce){.chat-familiar *{animation:none!important;transition:none!important}.chat-familiar{transition:none}}

/* Keep formal matches in a bounded two-row strip. It can be dragged horizontally. */
.bazi-panel{margin:18px 0 4px;border:1px solid #534160;border-radius:15px;background:#120c19}.bazi-panel[open],.bazi-panel.has-bazi{border-color:#846c54}.bazi-panel>summary{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:13px 15px;cursor:pointer;color:#d7be7c}.bazi-panel summary::marker{color:#9d82ab}.bazi-panel>summary span{font-size:13px}.bazi-panel>summary strong{font-size:11px;font-weight:400;color:#a99caf}.bazi-panel form{padding:2px 15px 15px}.bazi-panel__birth{display:grid;grid-template-columns:1.15fr .85fr .7fr 1.2fr;gap:8px}.bazi-panel__pillars{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}.bazi-panel label{display:grid;gap:6px;color:#bba8c2;font-size:11px}.bazi-panel label>small{min-height:15px;color:#7f7387;font-size:9px;line-height:1.4}.bazi-panel input,.bazi-panel select{width:100%;min-height:42px;padding:8px 10px;border:1px solid #594666;border-radius:10px;background:#0c0811;color:#eee4ef;font:inherit}.bazi-panel input[aria-invalid=true]{border-color:#d27882;box-shadow:0 0 0 2px #d2788228}.bazi-panel label:has(input[aria-invalid=true])>small{color:#e29aa2}.bazi-panel__pillars input{text-align:center;font:600 18px/1.2 "STSong","SimSun",serif;color:#f0d68e}.bazi-panel__unknown,.bazi-panel__manual-toggle{display:flex!important;align-items:center;gap:8px;margin-top:10px;color:#a99caf!important}.bazi-panel__unknown input,.bazi-panel__manual-toggle input{width:16px;min-height:16px;accent-color:#d9bd70}.bazi-panel__advanced{margin-top:12px;padding:10px 12px;border:1px solid #3f3349;border-radius:12px;background:#0d0912}.bazi-panel__advanced>summary{cursor:pointer;color:#a999b2;font-size:12px}.bazi-panel__advanced>p{margin:8px 0 0;color:#756b7d;font-size:10px}.bazi-panel__actions{display:flex;align-items:center;gap:12px;margin-top:12px}.bazi-panel__actions button{min-height:40px;padding:8px 14px;border:1px solid #d6b967;border-radius:12px;background:#d9bd70;color:#1b1420}.bazi-panel__actions #removeBazi{background:transparent;color:#b9a9c0;border-color:#5e496b}.bazi-panel__actions small{color:#887b90;line-height:1.5}.bazi-panel.has-bazi>summary::after{content:"已加入";padding:3px 8px;border-radius:12px;background:#463637;color:#e6cb84;font-size:9px}@media(max-width:850px){.bazi-panel__birth{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.bazi-panel>summary{align-items:flex-start;flex-direction:column;gap:4px}.bazi-panel__birth,.bazi-panel__pillars{grid-template-columns:1fr}.bazi-panel__actions{align-items:flex-start;flex-wrap:wrap}.bazi-panel__actions small{flex-basis:100%}}
.palm-chat__message.is-streaming::after{content:"";display:inline-block;width:7px;height:1em;margin-left:5px;vertical-align:-2px;border-radius:2px;background:#e2c475;animation:interpretation-caret .8s steps(1) infinite}
.chat-active .conversation>.discovery-panel::before{content:"本次正式命中 · 左右拖动查看";display:block;margin:0 0 9px;color:#bda970;font-size:11px;letter-spacing:1px}
.has-hand .conversation>.evidence-panel[hidden]+.discovery-panel .discovery-list,.has-hand .discovery-list{display:grid;grid-template-rows:repeat(2,132px);grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:minmax(320px,calc((100% - 20px)/3));gap:10px;max-height:292px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:2px 4px 12px 2px;cursor:grab;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#756080 #120c19;overscroll-behavior-x:contain}.has-hand .discovery-list.is-dragging{cursor:grabbing;user-select:none;scroll-snap-type:none}.has-hand .discovery-list .discovery-item{min-height:0;height:132px;scroll-snap-align:start}.palm-chat__head-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}.palm-chat__head #newPalmFromChat{padding:8px 13px;border:1px solid #765f85;border-radius:18px;color:#ead39a;text-decoration:none}.chat-active .conversation{display:block;margin-top:18px}.chat-active .conversation>.journey,.chat-active .conversation>.reveal,.chat-active .conversation>.domain-choices,.chat-active .conversation>.reading-toggle,.chat-active .conversation>.gentle-note,.chat-active .conversation>.evidence-panel{display:none!important}.chat-active .conversation>.discovery-panel{max-width:1180px;margin:0 auto 20px!important}.chat-active .palm-chat{margin-top:18px}@media(max-width:700px){.has-hand .conversation>.evidence-panel[hidden]+.discovery-panel .discovery-list,.has-hand .discovery-list{grid-template-rows:repeat(2,118px);grid-auto-columns:minmax(82vw,340px);max-height:264px!important}.has-hand .discovery-list .discovery-item{height:118px}.palm-chat__head-actions{flex-direction:column;align-items:flex-end}}

/* Once a hand is present, the palm is the interface. Keep only the located
   observation cards below it; navigation, debug-like status copy, duplicate
   summaries and the site footer no longer compete with the reading. */
.has-hand .story-chapters,.has-hand .scene-status,.has-hand .route-choices,.has-hand .mount-picker,.has-hand .selection-context,.has-hand .director-controls,
.has-hand .conversation>.speaker,.has-hand .conversation>h1,.has-hand .conversation>.speech,.has-hand .conversation>.reading-invitation,
.has-hand .conversation>.journey,.has-hand .conversation>.evidence-panel,.has-hand .conversation>#readingToggle,.has-hand .conversation>.reveal,
.has-hand .conversation>.domain-choices,.has-hand .conversation>.gentle-note,.has-hand .conversation>#newReading,body.has-hand>footer{display:none!important}
.has-hand .conversation{display:block;max-width:1180px;margin:22px auto 0}
.has-hand .conversation>.discovery-panel{display:block;margin:0;border:0;padding:0}
body.visuals-collapsed.has-hand .conversation>.discovery-panel{display:none!important}
.bazi-panel__result{display:block;margin-top:12px;padding:11px 13px;border:1px solid #796443;border-radius:11px;background:#251a25;color:#f0d489;font:600 14px/1.6 "STSong","SimSun",serif}.bazi-panel__result[hidden]{display:none}
.has-hand .discovery-panel>#showDiscoveries,.has-hand .discovery-stream-status{display:none!important}
.has-hand .discovery-list{max-height:none;overflow:visible}

/* Streaming discovery deck: stable cards arrive and update without stealing focus. */
#showDiscoveries{min-height:52px;font-size:17px;text-align:left}#showDiscoveries>span:first-child{display:block}#showDiscoveries small{display:block;margin-bottom:3px;color:#94b4a5;font-size:10px;letter-spacing:2px}#discoveryCount{border-color:#bfa966;padding:3px 11px}.discovery-stream-status{margin:0 0 12px;color:#abc7b8;font-size:12px;line-height:1.6}.has-hand .discovery-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:430px;padding:2px 6px 6px 2px}.discovery-item{position:relative;gap:7px;border-color:#577260;border-radius:15px;background:linear-gradient(145deg,#244947,#193b3c);padding:14px 15px;min-height:132px;color:#f4e6c7;box-shadow:0 8px 20px #061e2326;cursor:pointer;overflow:hidden;transform-origin:50% 80%}.discovery-item::after{content:"";position:absolute;right:-23px;bottom:-27px;width:76px;height:76px;border:1px solid #d9c17f2f;border-radius:50%}.discovery-item[data-tier=core]{border-color:#bba469;background:radial-gradient(circle at 86% 16%,#d5bb6840,transparent 29%),linear-gradient(145deg,#31584d,#1d403e);box-shadow:0 10px 25px #061e2338,inset 0 0 0 1px #f2d79320}.discovery-card__top{display:flex;justify-content:space-between;gap:8px;align-items:center}.discovery-card__top b,.discovery-card__top em{font-style:normal;font-size:10px;letter-spacing:1px}.discovery-card__top b{color:#efd48c}.discovery-card__top em{color:#a8c7b5}.discovery-item>strong{font:600 17px/1.4 "SimSun",serif;color:#fff0c6}.discovery-item>small{font-size:11px;line-height:1.55;color:#b9cfc2}.discovery-item>i{margin-top:auto;font-style:normal;font-size:10px;color:#8fb1a2}.discovery-item.is-provisional>i::before{content:"";display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:#e3c16c;box-shadow:0 0 8px #e3c16c;animation:discovery-breathe 1.8s ease-in-out infinite}.discovery-item.seen{filter:saturate(.76);opacity:.78}.discovery-item.is-selected{opacity:1;filter:none;border-color:#ffe09a;box-shadow:0 0 0 2px #ffe09a38,0 13px 28px #061e2350}.discovery-item.is-arriving{animation:discovery-arrive .58s cubic-bezier(.18,1.25,.3,1) both}.discovery-item.is-updating{animation:discovery-update .62s ease both}.discovery-item:hover{transform:translateY(-3px);box-shadow:0 14px 28px #061e2345}.discovery-empty{grid-column:1/-1}@keyframes discovery-arrive{0%{opacity:0;transform:translateY(18px) scale(.92) rotate(-1deg)}70%{opacity:1;transform:translateY(-2px) scale(1.015)}100%{transform:none}}@keyframes discovery-update{0%,100%{box-shadow:0 10px 25px #061e2338}45%{box-shadow:0 0 0 3px #efd27b45,0 10px 30px #061e2350}}@keyframes discovery-breathe{50%{opacity:.35;transform:scale(.72)}}@media(max-width:520px){.has-hand .discovery-list{grid-template-columns:1fr;max-height:360px}.discovery-item{min-height:112px}}@media(prefers-reduced-motion:reduce){.discovery-item,.discovery-item.is-arriving,.discovery-item.is-updating{animation:none;transition:none}.discovery-item.is-provisional>i::before{animation:none}}
.has-hand .conversation>.evidence-panel[hidden]+.discovery-panel{grid-column:1/-1}.has-hand .conversation>.evidence-panel[hidden]+.discovery-panel .discovery-list{grid-template-columns:repeat(3,minmax(0,1fr));max-height:520px}@media(max-width:800px){.has-hand .conversation>.evidence-panel[hidden]+.discovery-panel .discovery-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.has-hand .conversation>.evidence-panel[hidden]+.discovery-panel .discovery-list{grid-template-columns:1fr}}
.selection-context{display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;align-items:center;column-gap:12px;max-width:760px;margin:14px auto;padding:13px 15px;border:1px solid #e0c47a55;border-radius:16px;background:#173a3bcf;color:#eceddf}.selection-context[hidden]{display:none}.selection-context>span{grid-row:1/3;align-self:stretch;display:grid;place-items:center;padding:0 10px;border-right:1px solid #e0c47a38;color:#dcbc6c;font-size:10px;letter-spacing:2px}.selection-context strong{font:600 16px/1.4 "STSong",serif}.selection-context small{color:#9fb5a8;font-size:10px;line-height:1.5}.selection-context button{grid-column:3;grid-row:1/3;min-height:44px;padding:8px 13px;border:1px solid #9db7a65c;border-radius:14px;background:transparent;color:#e7dfc9;cursor:pointer}.selection-context button:hover,.selection-context button:focus-visible{border-color:#e6ca7f;background:#e6ca7f12;outline:none}@media(max-width:600px){.selection-context{grid-template-columns:auto 1fr}.selection-context button{grid-column:1/3;grid-row:3;margin-top:9px}.selection-context>span{grid-row:1/3}}
.discovery-card__top{align-items:flex-start}.discovery-card__top b,.discovery-card__top em{line-height:1.35;letter-spacing:.06em}.discovery-card__top b{max-width:72%}.discovery-card__top em{flex:0 0 auto;padding:2px 6px;border:1px solid #d9bd7352;border-radius:999px;color:#c9daca}
.mount-picker{max-width:760px;margin:10px auto;border:1px solid #8ea69645;border-radius:15px;background:#112f31a8;color:#dfdfd1}.mount-picker[hidden]{display:none}.mount-picker summary{min-height:44px;padding:12px 15px;cursor:pointer;color:#e8cf8b;font-size:12px;letter-spacing:.06em}.mount-picker>p{margin:0 15px 10px;color:#91aa9d;font-size:10px}.mount-choices{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;padding:0 12px 13px}.mount-choices button{min-height:42px;padding:7px;border:1px solid #8ba3964d;border-radius:11px;background:#173a3b;color:#e3e4d5;font:11px/1.35 "STSong",serif;cursor:pointer}.mount-choices button:hover,.mount-choices button:focus-visible{border-color:#e4c77d;color:#f3d88f;outline:none}@media(max-width:700px){.mount-choices{grid-template-columns:repeat(2,1fr)}}
.evidence-meaning{margin-top:14px!important;padding:14px 15px;border-left:3px solid #dfbe70;background:#e7cb7b0b}.evidence-meaning::before{content:attr(data-label);display:block;margin-bottom:7px;color:#ddbf72;font-size:10px;font-weight:700;letter-spacing:.08em}

/* The stage owns the live explanation; the right column is a quiet record only. */
.has-hand .evidence-panel{display:none!important}.discovery-item{min-height:174px}.discovery-item>small[data-role=observed],.discovery-item>small[data-role=meaning]{display:block;-webkit-line-clamp:3}.discovery-item>small[data-role=meaning]{padding-top:7px;border-top:1px solid #7a92793d;color:#d6dfc8}


/* Independent streaming interpretation cards: five stable positions on each side. */
.interpretation-orbit{position:absolute;inset:18px;z-index:8;pointer-events:none}.interpretation-rail{position:absolute;top:38px;bottom:44px;width:clamp(190px,19vw,285px);display:grid;grid-template-rows:repeat(5,minmax(0,1fr));gap:9px}.interpretation-rail--left{left:18px}.interpretation-rail--right{right:18px}.interpretation-card{pointer-events:auto;min-width:0;padding:10px 12px;text-align:left;border:1px solid #5d786c;border-radius:14px;background:linear-gradient(145deg,#143737f2,#0e292df2);color:#d9e4d8;box-shadow:0 9px 24px #001a2250;overflow:hidden;display:flex;flex-direction:column;gap:4px;transition:border-color .25s,background .25s,transform .25s}.interpretation-card[hidden]{display:none!important}.interpretation-card:hover{transform:translateY(-2px);border-color:#d5bb78}.interpretation-card span{font-size:10px;color:#b7cbbd;letter-spacing:1px}.interpretation-card strong{font:600 14px/1.35 "SimSun",serif;color:#f2ddb0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.interpretation-card p{margin:0;font-size:11px;line-height:1.5;color:#bdd0c4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.interpretation-card i{margin-top:auto;font-style:normal;font-size:9px;color:#77998a}.interpretation-card.has-text{border-color:#a69057;background:linear-gradient(145deg,#264c43f5,#123236f5)}.interpretation-card.has-text:not(.is-complete) i::before{content:"";display:inline-block;width:5px;height:5px;margin-right:6px;border-radius:50%;background:#e2c375;box-shadow:0 0 9px #e2c375;animation:interpretation-writing 1.5s ease-in-out infinite}.interpretation-card.is-complete{border-color:#d7bd75}.interpretation-card.is-complete i{color:#d8c58e}.interpretation-finish{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(360px,40vw);padding:25px;text-align:center;border:1px solid #f2d58c;border-radius:22px;background:#102f31f2;box-shadow:0 0 0 9px #e9cf8a16,0 24px 70px #00181fd9;animation:interpretation-finish .9s cubic-bezier(.18,1.2,.3,1) both}.interpretation-finish span{display:block;color:#d5bd7c;font-size:11px;letter-spacing:4px}.interpretation-finish strong{display:block;margin-top:10px;font:500 23px/1.5 "SimSun",serif;color:#fff0c7}.interpretation-dialog{width:min(860px,92vw);height:min(82vh,820px);background:#143235;color:#f7ebce;border:1px solid #bda669;border-radius:22px;padding:0}.interpretation-dialog__head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:flex-start;padding:22px 26px;border-bottom:1px solid #536f62;background:#143235}.interpretation-dialog__head span{font-size:11px;color:#bba96f}.interpretation-dialog__head h2{margin:7px 0 0;font:500 25px/1.45 "SimSun",serif}.interpretation-dialog__head button{width:38px;height:38px;border:1px solid #789080;border-radius:50%;background:none}.interpretation-dialog__body{padding:10px 26px 38px;overflow:auto;height:calc(100% - 94px)}.interpretation-dialog__body section{padding:17px 0;border-bottom:1px solid #456157}.interpretation-dialog__body h3{margin:0 0 8px;color:#e0c889;font-size:15px}.interpretation-dialog__body p{white-space:pre-wrap;margin:10px 0;color:#e0e8dc;font-size:15px;line-height:1.9}.interpretation-dialog__body small{color:#9fb8aa;line-height:1.7}.interpretation-dialog__writing::after{content:"";display:inline-block;width:7px;height:1em;margin-left:5px;vertical-align:-2px;background:#e0c47b;animation:interpretation-caret .8s steps(1) infinite}
@keyframes interpretation-writing{50%{opacity:.3;transform:scale(.75)}}@keyframes interpretation-caret{50%{opacity:0}}@keyframes interpretation-finish{from{opacity:0;transform:translate(-50%,-44%) scale(.78)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@keyframes interpretation-finish-out{to{opacity:0;transform:translate(-50%,-54%) scale(.96)}}
@media(max-width:900px){.interpretation-orbit{inset:8px}.interpretation-rail{width:31vw;top:20px;bottom:36px;gap:6px}.interpretation-rail--left{left:4px}.interpretation-rail--right{right:4px}.interpretation-card{padding:7px 8px;border-radius:10px}.interpretation-card strong{font-size:11px}.interpretation-card p{-webkit-line-clamp:2;font-size:9px}.interpretation-card span,.interpretation-card i{font-size:8px}.interpretation-finish{width:48vw;padding:16px}.interpretation-finish strong{font-size:17px}}

/* Enlarged reading: the same moonlit palette, with a scan-friendly card manuscript. */
.interpretation-dialog{width:min(1180px,94vw);max-width:1180px;height:min(90vh,920px);border:1px solid #bca66c80;border-radius:24px;background:radial-gradient(circle at 82% 4%,#55735930,transparent 32%),radial-gradient(circle at 8% 100%,#325d5540,transparent 38%),#102d31;color:#fff8e9;box-shadow:0 30px 100px #00171de6,inset 0 1px 0 #fff2bd12;overflow:hidden}.interpretation-dialog[open]{display:flex;flex-direction:column}.interpretation-dialog::backdrop{background:#061d22df;backdrop-filter:blur(10px) saturate(.8)}
.interpretation-dialog__head{padding:21px 28px;border-bottom:1px solid #66807680;background:linear-gradient(180deg,#17383af7,#102d31f2);backdrop-filter:blur(16px)}.interpretation-dialog__head>div{min-width:0}.interpretation-dialog__head span{display:block;color:#b8cbbf;font-size:11px;letter-spacing:1.5px}.interpretation-dialog__head h2{max-width:1000px;margin:6px 0 0;color:#f3d78e;font:600 clamp(20px,2vw,28px)/1.42 "STSong","SimSun",serif;letter-spacing:.02em}.interpretation-dialog__head button{flex:0 0 auto;width:44px;height:44px;margin-left:20px;border-color:#8da49680;background:#173a3c;color:#e9d49c;transition:background .2s,border-color .2s,transform .2s}.interpretation-dialog__head button:hover{transform:rotate(4deg);border-color:#e4c77d;background:#264b47}.interpretation-dialog__head button:focus-visible{outline:3px solid #e6bd76;outline-offset:3px}
.interpretation-dialog__body{flex:1 1 auto;min-height:0;height:auto;padding:0;overflow:auto;scrollbar-color:#8ba28f #0d292d}.interpretation-dialog:has(.interpretation-dialog__next:not([hidden])) .interpretation-dialog__body{height:auto}.interpretation-sheet{min-height:100%;padding:28px;background:linear-gradient(180deg,#102d3100,#173c3928)}
.interpretation-dialog__next{position:relative;z-index:3;flex:0 0 auto;min-height:96px;padding:16px 28px;display:flex;align-items:center;justify-content:space-between;gap:22px;border-top:1px solid #9f7bb780;background:linear-gradient(180deg,#1b1024,#0d0913);box-shadow:0 -14px 35px #05030875}.interpretation-dialog__next[hidden]{display:none}.interpretation-dialog__next div{min-width:0}.interpretation-dialog__next span{display:block;color:#d4bde1;font-size:10px;letter-spacing:2px}.interpretation-dialog__next strong{display:block;margin-top:6px;color:#fff5ff;font-size:13px;line-height:1.55;font-weight:500}.interpretation-dialog__next button{flex:0 0 auto;min-height:48px;max-width:340px;padding:11px 22px;border:1px solid #f2da8d;border-radius:13px;background:linear-gradient(135deg,#f5df91,#cda852);color:#211629;font-weight:800;box-shadow:0 10px 25px #0008,0 0 22px #e2c16532;transition:transform .2s,box-shadow .2s,filter .2s}.interpretation-dialog__next button:hover:not(:disabled){transform:translateY(-2px);filter:brightness(1.06);box-shadow:0 14px 30px #0009,0 0 30px #e2c16538}.interpretation-dialog__next button:focus-visible{outline:3px solid #f4df9b;outline-offset:3px}.interpretation-dialog__next button:disabled{border-color:#61536b;background:#241b2b;color:#91859a;box-shadow:none;cursor:wait}
.interpretation-summary{position:relative;margin:0 0 26px;padding:22px 24px;border:1px solid #81977c70;border-left:3px solid #e6bd76;border-radius:16px;background:linear-gradient(135deg,#21433f,#173638);box-shadow:0 12px 34px #001b2230;overflow:hidden}.interpretation-summary::after{content:"☾";position:absolute;right:22px;top:50%;transform:translateY(-50%);color:#efd68c12;font:82px/1 Georgia,serif}.interpretation-summary>span,.interpretation-combined>span{display:block;margin-bottom:9px;color:#e9ca7e;font-size:11px;font-weight:700;letter-spacing:2px}.interpretation-summary p,.interpretation-combined p{position:relative;z-index:1;margin:0;color:#edf2e8;font-size:16px;line-height:1.9;white-space:pre-wrap}
.interpretation-group{margin-top:28px}.interpretation-group__title{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:13px;padding:0 2px}.interpretation-group__title>span{color:#f0d38b;font:600 19px/1.4 "STSong","SimSun",serif;letter-spacing:.04em}.interpretation-group__title>small{color:#91aa9d;font-size:11px;letter-spacing:.04em}
.interpretation-insight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.interpretation-insight-card{position:relative;display:flex;flex-direction:column;min-width:0;min-height:258px;padding:21px 20px 18px;border:1px solid #617c6e80;border-radius:17px;background:linear-gradient(145deg,#183a3b,#102d31);box-shadow:0 10px 25px #00191f2e;overflow:hidden}.interpretation-insight-card::after{content:"";position:absolute;right:-38px;top:-38px;width:92px;height:92px;border:1px solid #d9c17f1c;border-radius:50%}.interpretation-insight-card>span{position:absolute;right:16px;top:13px;color:#d7c27a3d;font:600 24px/1 Georgia,serif}.interpretation-insight-card h3{max-width:88%;margin:0 0 14px;color:#f0d17f;font:600 17px/1.45 "STSong","SimSun",serif}.interpretation-insight-card p{margin:0 0 18px;color:#dce8dd;font-size:14px;line-height:1.78;white-space:pre-wrap}.interpretation-insight-card footer{margin-top:auto;padding-top:13px;border-top:1px dashed #71877a55;color:#a9beb2;font-size:11px;line-height:1.65}.interpretation-insight-card footer b{margin-right:7px;color:#d8bd78}.interpretation-insight-card:hover{border-color:#bda867;background:linear-gradient(145deg,#214640,#133436)}
.interpretation-combined{margin-top:28px;padding:21px 23px;border:1px solid #6c887880;border-radius:17px;background:linear-gradient(135deg,#244941,#173638)}
.interpretation-framework{margin-top:14px;padding:15px 18px;border-top:1px dashed #6b82775c;border-bottom:1px dashed #6b82775c;color:#a9beb2;font-size:12px;line-height:1.72}.interpretation-framework b{color:#d8bd78}.interpretation-framework p{display:inline;margin:0;white-space:pre-wrap}.interpretation-advice-list{display:grid;gap:11px}.interpretation-advice{padding:16px 18px;border-left:3px solid #e6bd76;border-radius:0 12px 12px 0;background:#153638}.interpretation-advice p{margin:0;color:#e0e9df;font-size:14px;line-height:1.76;white-space:pre-wrap}.interpretation-advice p b{color:#e7cb82}.interpretation-advice small{display:block;margin-top:9px;color:#a6baaf;font-size:12px;line-height:1.72}.interpretation-watch-list{margin:0;padding:17px 20px 17px 42px;border:1px solid #5e786b70;border-radius:15px;background:#153638;color:#d8e4da}.interpretation-watch-list li{padding:4px 0 8px 4px;font-size:13px;line-height:1.78}.interpretation-watch-list li::marker{color:#e6bd76}.interpretation-dialog__writing::after{background:#e6bd76;box-shadow:0 0 8px #e6bd76}
@media(max-width:920px){.interpretation-dialog{width:96vw;height:94vh;border-radius:18px}.interpretation-dialog__head{padding:16px 18px}.interpretation-dialog__head h2{font-size:19px}.interpretation-dialog__body{height:calc(100% - 88px)}.interpretation-sheet{padding:18px}.interpretation-summary{padding:18px}.interpretation-summary p,.interpretation-combined p{font-size:14px}.interpretation-insight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.interpretation-insight-card{min-height:230px}}
@media(max-width:600px){.interpretation-sheet{padding:14px}.interpretation-dialog__head span{font-size:9px}.interpretation-dialog__head h2{font-size:17px}.interpretation-dialog__head button{width:42px;height:42px;margin-left:10px}.interpretation-group__title{align-items:flex-start;flex-direction:column;gap:2px}.interpretation-insight-grid{grid-template-columns:1fr}.interpretation-insight-card{min-height:0}.interpretation-summary::after{display:none}.interpretation-advice{padding:14px}.interpretation-watch-list{padding-left:34px}.interpretation-dialog:has(.interpretation-dialog__next:not([hidden])) .interpretation-dialog__body{height:calc(100% - 230px)}.interpretation-dialog__next{min-height:142px;padding:14px 16px;align-items:stretch;flex-direction:column;gap:10px}.interpretation-dialog__next button{width:100%;max-width:none}}


/* Yuejian performs inside the live answer. The answer stays above every effect. */
.palm-chat__message.has-chat-familiar{position:relative;isolation:isolate;min-height:166px;max-width:min(880px,96%);padding:16px 18px 16px 164px;overflow:hidden;transition:min-height .28s ease,padding .28s ease}
.palm-chat__message{flex:0 0 auto}
.palm-chat__message-copy{position:relative;z-index:5;min-width:0;overflow-wrap:anywhere}
.palm-chat__familiar-slot{position:absolute;z-index:2;left:8px;top:50%;width:146px;height:150px;transform:translateY(-50%);pointer-events:none}
.palm-chat__familiar-slot .chat-familiar{position:absolute;inset:0;display:block;width:146px;min-height:150px;margin:0;padding:0;border:0;border-radius:0;background:none;overflow:visible;box-shadow:none;transform:none}
.palm-chat__familiar-slot .chat-familiar__scene{position:absolute;left:0;top:0;width:146px;height:116px}
.palm-chat__familiar-slot .chat-familiar__copy{position:absolute;z-index:8;left:5px;right:4px;bottom:1px;padding:4px 7px;border:1px solid #d7bd7166;border-radius:10px;background:#100a18d9;box-shadow:0 5px 16px #05020899;text-align:center;white-space:normal}
.palm-chat__familiar-slot .chat-familiar__copy span{display:block;overflow:hidden;color:#d7bd7d;font-size:8px;line-height:1.35;letter-spacing:1px;text-overflow:ellipsis;white-space:nowrap}
.palm-chat__familiar-slot .chat-familiar__copy strong{display:block;overflow:hidden;margin:2px 0 0;color:#eee2bd;font:500 10px/1.35 "SimSun",serif;text-overflow:ellipsis;white-space:nowrap}
.palm-chat__familiar-slot .chat-familiar__copy small{display:none}
.palm-chat__message.has-chat-familiar::before{content:"";position:absolute;z-index:1;inset:-35%;background:radial-gradient(circle at 22% 55%,#d3abff26 0 8%,transparent 27%),radial-gradient(circle at 48% 34%,#f3d67b13,transparent 24%);opacity:.75;animation:chat-answer-aura 4.2s ease-in-out infinite;pointer-events:none}
.palm-chat__message.has-chat-familiar::after{display:none}
.palm-chat__message.has-chat-familiar.is-streaming .palm-chat__message-copy::after{content:"";display:inline-block;width:7px;height:1em;margin-left:5px;vertical-align:-2px;border-radius:2px;background:#e2c475;animation:interpretation-caret .8s steps(1) infinite}
.palm-chat__familiar-slot .chat-familiar::before,.palm-chat__familiar-slot .chat-familiar::after{content:"";position:absolute;z-index:1;pointer-events:none}
.palm-chat__familiar-slot .chat-familiar::before{left:78px;top:22px;width:520px;height:80px;opacity:.42;transform-origin:left center}
.palm-chat__familiar-slot .chat-familiar::after{left:110px;top:12px;width:310px;height:115px;opacity:.45}
.palm-chat__familiar-slot .chat-familiar[data-effect=fireflies]::before{background:radial-gradient(circle,#f7dc85 0 2px,transparent 3px) 0 0/47px 31px;animation:chat-fireflies 3.4s ease-in-out infinite}
.palm-chat__familiar-slot .chat-familiar[data-effect=orbit]::after{border:1px solid #d6b7f455;border-left-color:#f3d781;border-radius:50%;animation:chat-orbit 3.2s linear infinite}
.palm-chat__familiar-slot .chat-familiar[data-effect=comet]::before{height:3px;top:52px;background:linear-gradient(90deg,#f4da8ccc,transparent);filter:drop-shadow(0 0 7px #d0a8ff);animation:chat-comet 2.3s cubic-bezier(.2,.65,.25,1) infinite}
.palm-chat__familiar-slot .chat-familiar[data-effect=runes]::after{background:repeating-radial-gradient(circle at 15% 50%,transparent 0 13px,#d5b9ed2c 14px 15px,transparent 16px 29px);animation:chat-runes 4.4s linear infinite}
.palm-chat__familiar-slot .chat-familiar[data-effect=ripple]::after{left:54px;top:31px;width:88px;height:88px;border:1px solid #efcf7d77;border-radius:50%;animation:chat-ripple 2.5s ease-out infinite}
.palm-chat__familiar-slot .chat-familiar[data-effect=pageglow] .chat-familiar__book{filter:drop-shadow(0 0 12px #f2cf73);animation:chat-pageflip 1.25s ease-in-out infinite}
.palm-chat__familiar-slot .chat-familiar[data-effect=inktrail]::before{top:69px;height:2px;background:linear-gradient(90deg,#d9bd72,#b99bda77 46%,transparent);animation:chat-inktrail 2.8s ease-in-out infinite}
.palm-chat__familiar-slot .chat-familiar[data-effect=thoughts]::after{left:101px;top:1px;width:15px;height:15px;border:1px solid #e8d18999;border-radius:50%;box-shadow:19px -11px 0 -3px #caaee355,40px -19px 0 1px #e9cd7866;animation:chat-thoughts 2.6s ease-in-out infinite}
.palm-chat__familiar-slot .chat-familiar[data-effect=echo]::after{left:84px;top:30px;width:55px;height:55px;border:1px solid #c9a9e888;border-radius:50%;animation:chat-echo 2.1s ease-out infinite}
.palm-chat__familiar-slot .chat-familiar[data-effect=burst]::before{left:72px;top:28px;width:130px;height:100px;background:conic-gradient(from 0deg,transparent 0 12deg,#f4d77d 13deg 14deg,transparent 15deg 42deg,#c8a4e7 43deg 44deg,transparent 45deg 75deg,#f4d77d 76deg 77deg,transparent 78deg);animation:chat-burst 1.35s ease-out infinite}
.chat-familiar[data-action=scry] .chat-familiar__orb,.chat-familiar[data-action=discover] .chat-familiar__orb,.chat-familiar[data-action=follow] .chat-familiar__orb{opacity:1;transform:scale(1)}
.chat-familiar[data-action=scry] .chat-familiar__cat,.chat-familiar[data-action=follow] .chat-familiar__cat{animation:chat-look-up 2.1s ease-in-out infinite}
.chat-familiar[data-action=listen] .chat-familiar__cat{animation:chat-listen 1.9s ease-in-out infinite}
.chat-familiar[data-action=discover] .chat-familiar__cat{animation:chat-discover 1.2s cubic-bezier(.2,1.2,.35,1) infinite}
.chat-familiar[data-action=scribe] .chat-familiar__scroll,.chat-familiar[data-action=ponder] .chat-familiar__book{opacity:1;transform:none}
.chat-familiar[data-action=scribe] .chat-familiar__scroll i{animation:chat-write-line 1.1s ease-in-out infinite}
.chat-familiar[data-action=ponder] .chat-familiar__cat{animation:chat-think 2.3s ease-in-out infinite}
@keyframes chat-answer-aura{50%{opacity:1;transform:translate3d(2%,0,0) scale(1.03)}}
@keyframes chat-fireflies{0%,100%{opacity:.15;transform:translate3d(-25px,12px,0)}50%{opacity:.65;transform:translate3d(20px,-8px,0)}}
@keyframes chat-orbit{to{transform:rotate(360deg) scale(.86)}}
@keyframes chat-comet{0%{opacity:0;transform:translate3d(-40px,25px,0) scaleX(.15) rotate(-7deg)}35%{opacity:.8}100%{opacity:0;transform:translate3d(270px,-20px,0) scaleX(1) rotate(-7deg)}}
@keyframes chat-runes{to{transform:rotate(12deg) translateX(12px)}}
@keyframes chat-ripple{0%{opacity:.8;transform:scale(.3)}100%{opacity:0;transform:scale(2.6)}}
@keyframes chat-pageflip{0%,100%{transform:translateY(15px) scale(.75) rotateY(0)}50%{transform:translateY(0) scale(1) rotateY(15deg)}}
@keyframes chat-inktrail{0%{opacity:0;transform:scaleX(.06)}38%{opacity:.75}100%{opacity:0;transform:scaleX(1)}}
@keyframes chat-thoughts{50%{transform:translate3d(5px,-8px,0);opacity:.8}}
@keyframes chat-echo{0%{opacity:.75;transform:scale(.35)}100%{opacity:0;transform:scale(2.4)}}
@keyframes chat-burst{0%{opacity:.2;transform:scale(.35) rotate(-12deg)}45%{opacity:.9}100%{opacity:0;transform:scale(1.35) rotate(8deg)}}
@keyframes chat-listen{0%,100%{transform:rotate(0) translateY(0)}45%{transform:rotate(5deg) translate(3px,-2px)}}
@keyframes chat-discover{0%,100%{transform:translateY(0) scale(1)}48%{transform:translateY(-8px) scale(1.04)}}
@media(max-width:700px){.palm-chat__message.has-chat-familiar{min-height:142px;padding:14px 13px 14px 108px}.palm-chat__familiar-slot{left:0;width:104px;height:130px}.palm-chat__familiar-slot .chat-familiar{width:104px;min-height:130px}.palm-chat__familiar-slot .chat-familiar__scene{left:-8px;top:2px;transform:scale(.72);transform-origin:left top}.palm-chat__familiar-slot .chat-familiar__copy{left:4px;right:2px;bottom:3px}.palm-chat__familiar-slot .chat-familiar__copy strong{font-size:9px}.palm-chat__familiar-slot .chat-familiar::before{width:300px}.palm-chat__familiar-slot .chat-familiar::after{width:180px}}
@media(prefers-reduced-motion:reduce){.palm-chat__message.has-chat-familiar::before,.palm-chat__familiar-slot .chat-familiar::before,.palm-chat__familiar-slot .chat-familiar::after{animation:none!important;opacity:.22}.palm-chat__message.has-chat-familiar{transition:none}}

#stopReading{border-color:#7d585d;color:#e6c2bc}.palm-chat__form textarea{flex:1;min-width:0;min-height:52px;max-height:160px;resize:vertical;padding:10px 14px;border:1px solid #5c4968;border-radius:14px;background:#0d0912;color:#f4edf3;font:inherit;line-height:1.5}.palm-chat__form textarea:focus{border-color:#dfc574;outline:2px solid #dfc57435}
@media(max-width:700px){.palm-chat__form textarea{min-height:64px}}
