/* Reference image-3, measured at 1168×784. All controls and data remain real DOM. */
.reference-canvas{position:relative;width:100%;max-width:1168px;height:784px;margin:0 auto;overflow:hidden;color:#290957;font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif;background:radial-gradient(ellipse at 91% 14%,#f2c4e6 0,transparent 52%),radial-gradient(ellipse at 65% 85%,#f5d7ec 0,transparent 53%),linear-gradient(125deg,#7655c0 0%,#b39bd8 46%,#edbfe4 100%);isolation:isolate}
.reference-canvas *{box-sizing:border-box}.reference-canvas h1,.reference-canvas h2,.reference-canvas p{margin:0}.reference-canvas svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.reference-canvas a{text-decoration:none;color:inherit}.reference-canvas button{font:inherit;cursor:pointer}.reference-canvas :is(a,button):focus-visible{outline:3px solid #34105e;outline-offset:4px}
.ref-header{position:absolute;z-index:3;left:14px;top:9px;width:1140px;height:112px;border:1px solid #dfc8f3a8;border-radius:26px;background:linear-gradient(110deg,#422b86ec,#4a348bce 32%,#bd8fc578 83%,#efbbdd66);box-shadow:inset 0 1px 0 #fff2;color:#fff}
.ref-brand{position:absolute;left:18px;top:16px;height:80px;display:flex;align-items:center;gap:17px}.ref-brand>span:last-child{display:flex;flex-direction:column;align-items:flex-start}.ref-brand strong{font:500 50px/1.05 "Songti SC","STSong","Noto Serif CJK SC",serif;letter-spacing:2px;color:white}.ref-brand small{font-size:19px;line-height:28px;letter-spacing:1px;color:#fff;margin-top:1px}
.ref-logo{position:relative;display:block;width:78px;height:78px;border:2px solid #f8e7b6;border-radius:50%;background:radial-gradient(ellipse at center,#563a8d,#271448);overflow:hidden;flex:none}.ref-logo i{display:block;position:absolute;bottom:15px;left:27px;width:23px;height:46px;border-radius:80% 0 70% 25%;transform-origin:50% 91%;transform:rotate(calc((var(--leaf) - 3) * 24deg));background:linear-gradient(140deg,#fff3e3 5%,#f8c7dd 37%,#c391df 69%,#7651aa);border:1px solid #f5d6ed;box-shadow:inset 3px 3px 6px #ffffff5c}.ref-logo i:nth-child(4){z-index:3;transform:rotate(0);border-radius:80% 0 80% 0}.ref-logo:after{content:"";position:absolute;bottom:10px;left:16px;width:43px;height:14px;border-bottom:2px solid #e5b6db;border-radius:50%}
.ref-nav{position:absolute;left:382px;top:35px;display:flex;align-items:center;gap:16px;height:48px}.ref-nav a{height:48px;display:flex;align-items:center;justify-content:center;gap:9px;padding:0 13px;font-size:20px;font-weight:500;white-space:nowrap;text-shadow:0 1px 2px #42296188}.ref-nav a[aria-current=page]{width:120px;border-radius:26px;background:linear-gradient(145deg,#f9a5de,#fbb5dd);box-shadow:inset 0 1px #fff6,0 2px 3px #4a276b26}.ref-nav a:first-child{font-size:18px;padding:0 9px}.ref-nav a svg{width:27px;height:27px}.ref-heart{position:absolute;left:1007px;top:44px;color:#fff}.ref-heart svg{width:33px;height:33px;filter:drop-shadow(0 1px 2px #5b2b7233)}
html[data-theme][lang] body.home-page .ref-header .theme-toggle{position:absolute;right:29px;top:36px;width:49px;height:49px;min-width:0;border:0!important;border-radius:0!important;box-shadow:none!important;padding:6px!important;margin:0!important;background:transparent!important;color:#fff!important}.ref-header .theme-toggle>svg{display:block!important;width:34px;height:34px;fill:none}.ref-header .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;clip:rect(0,0,0,0)!important;overflow:hidden!important;white-space:nowrap!important}
.ref-stage{position:absolute;left:14px;top:130px;width:1140px;height:598px;border:1px solid #f4e4ffa8;border-radius:24px;background:linear-gradient(110deg,#e2d9f5a3,#f4e0f2a1);box-shadow:inset 0 1px 0 #fff4,0 8px 16px #5b32871a;z-index:1}
.ref-stage>#ref-heading{position:absolute;left:28px;top:13px;color:#fff;font-size:24px;font-weight:600;line-height:32px;text-shadow:0 2px 3px #52327675;letter-spacing:1px}.ref-stage>#ref-heading span{font-size:28px;display:inline-block;margin-right:6px;position:relative}.ref-stage>#ref-heading span:before{content:"✦";position:absolute;font-size:13px;left:13px;top:-4px}.ref-stage>#ref-heading:after{content:"";position:absolute;left:38px;bottom:-5px;width:95px;height:3px;background:#ee9ed2;border-radius:3px}
.ref-result{position:absolute;left:29px;top:63px;width:708px;height:209px;border:1px solid #eed8ffa6;border-radius:23px;background:radial-gradient(ellipse at 12% 4%,#b88ee28c 0,transparent 48%),linear-gradient(110deg,#6240b1 0%,#7650bf 46%,#b87acb 73%,#f7addd 100%);box-shadow:inset 0 1px #fff3,0 7px 16px #72459a30;overflow:hidden;color:#fff}.ref-issue{position:absolute;left:26px;top:14px;font-size:21px;letter-spacing:.3px;line-height:31px}.ref-issue small{font-size:11px;font-weight:400;opacity:.86;margin-left:11px;letter-spacing:0}
.ref-equation{position:absolute;left:59px;top:53px;display:flex;align-items:center;height:90px;gap:17px}.ref-equation i{font-style:normal;font-size:37px;font-weight:600;width:20px;text-align:center}.ref-ball{position:relative;display:grid;place-items:center;width:90px;height:90px;flex:none;border:1px solid #f6eaff;border-radius:50%;color:#210843;font-size:47px;font-weight:600;line-height:1;background:radial-gradient(circle at 34% 22%,#ffffff 0%,#f0dcff 24%,#d4b3f3 47%,#9e6bdd 77%,#e9d2ff 100%);box-shadow:inset 0 3px 7px #fff9,inset -2px -4px 8px #fff8,0 8px 12px #3c13794a;text-shadow:0 1px #fff9;isolation:isolate}.ref-ball:before{content:"";position:absolute;z-index:-1;inset:16px;border-radius:50%;background:linear-gradient(130deg,#fff9,#ead6f5ad);box-shadow:0 1px 1px #fff7}.ref-ball.pink{background:radial-gradient(circle at 34% 22%,#fff 0%,#ffe9f6 24%,#f9bbdc 47%,#e778b2 77%,#ffd6e9 100%)}.ref-equation strong{display:grid;place-items:center;width:84px;height:60px;border-radius:34px;border:1.5px solid #fcecffba;font-size:38px;line-height:1;font-weight:500;background:#d9b4e33d;color:#fff;text-shadow:0 2px 2px #62417845}.ref-equation>b{display:grid;place-items:center;margin-left:-9px;width:50px;height:42px;background:#ffdcf3;border-radius:25px;color:#310c53;font-size:24px;font-weight:500}
.ref-classifications{position:absolute;left:114px;top:157px;display:flex;gap:20px}.ref-classifications span{display:grid;place-items:center;width:72px;height:33px;border:1px solid #e9c9f8c9;border-radius:18px;background:linear-gradient(135deg,#d7b4f2,#d9aeee);font-size:22px;color:#fff;text-shadow:0 2px 2px #9760b49c;box-shadow:inset 0 1px #fff4}.ref-classifications span:nth-child(2){background:linear-gradient(135deg,#ffc0e7,#eaa1d0)}.ref-classifications span:last-child{font-size:19px}
.ref-result-orbits{position:absolute;width:610px;height:300px;left:108px;top:-96px;border:1px solid #ffdcf24d;border-radius:50%;transform:rotate(-16deg);pointer-events:none}.ref-result-orbits:before{content:"";position:absolute;inset:12px -10px -9px -25px;border-bottom:1px solid #fff4;border-radius:50%}.ref-result-orbits:after{content:"✦ ·     ✧        ✦";position:absolute;right:7px;bottom:7px;width:250px;color:#ffeafa;font-size:16px;word-spacing:38px;transform:rotate(16deg)}
.ref-clock{position:absolute;left:760px;top:36px;width:342px;height:240px;border:1px solid #fff9;border-radius:23px;background:linear-gradient(130deg,#f3ddf585,#ffe8f19e);box-shadow:inset 0 1px #fff3,0 7px 12px #76439a1c;text-align:center;color:#2d0a5e}.ref-clock h2{display:flex;align-items:center;justify-content:center;gap:10px;position:absolute;left:0;right:0;top:17px;font-size:21px;font-weight:500;line-height:32px;letter-spacing:.5px}.ref-clock h2 svg{width:21px;height:21px}.ref-clock>strong{position:absolute;display:block;top:51px;left:0;right:0;font-size:58px;line-height:66px;letter-spacing:1px;font-weight:600;font-variant-numeric:tabular-nums}.ref-time-units{position:absolute;top:116px;left:42px;right:42px;display:flex;justify-content:space-around;font-size:17px}.ref-clock-rule{position:absolute;top:158px;left:39px;right:39px;border-top:1px solid #c79fd09c}.ref-clock-rule span{position:absolute;top:-13px;left:calc(50% - 11px);background:#efd5ef;color:#b67fcd;font-size:22px;line-height:25px;width:23px}.ref-clock>p{position:absolute;top:174px;left:0;right:0;font-size:18px;letter-spacing:.5px}.ref-clock>[data-ref=next]{position:absolute;top:201px;left:0;right:0;font-size:21px;line-height:27px;color:#723399}.ref-waiting .ref-clock>strong{font-size:43px}.ref-waiting .ref-time-units{visibility:hidden}
.ref-history{position:absolute;left:25px;top:286px;width:1086px;height:295px;border:1px solid #fff8;border-radius:21px;background:linear-gradient(100deg,#e4d9f366,#fde6f36b);box-shadow:inset 0 1px #fff3;overflow:hidden}.ref-history-heading{height:50px;position:relative;display:flex;align-items:center;padding:0 16px 0 21px}.ref-history h2{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:600;color:#fff;letter-spacing:1px;text-shadow:0 2px 3px #72558f8c}.ref-history h2 svg{width:24px;height:25px;stroke-width:3}.ref-history-heading button{position:absolute;right:29px;top:10px;height:36px;width:156px;border:1px solid #ffecfbc9;border-radius:20px;background:linear-gradient(120deg,#f7b6e7,#c389e5);color:white;display:flex;align-items:center;justify-content:center;gap:13px;font-size:19px;text-shadow:0 2px 2px #87549473;box-shadow:0 2px 4px #a369be20}.ref-history-heading button svg{width:24px;height:24px}
.ref-history-rows{margin:0 15px;display:grid;grid-template-rows:repeat(6,40px)}.ref-history-row{display:grid;grid-template-columns:260px 66px 66px 66px 166px 100px 99px 79px 79px;align-items:center;height:40px;border:1px solid #fff5;border-radius:14px;background:linear-gradient(90deg,#efe4f36b,#fff2);font-size:21px;line-height:1;color:#190836;overflow:hidden}.ref-history-issue{padding-left:36px;font-size:20px;font-variant-numeric:tabular-nums}.mini-ball{display:grid;place-items:center;width:39px;height:35px;border-radius:50%;font-size:24px;color:#210942;background:linear-gradient(135deg,#f6e8ff,#c49ce7);box-shadow:inset 0 1px 2px #fff7}.mini-ball.pink{background:linear-gradient(135deg,#ffe3f3,#f19fca)}.mini-ball.peach{background:linear-gradient(135deg,#ffe8d9,#f6b79f)}.ref-equals{text-align:center;padding-left:6px;color:#5c3777}.ref-history-row>strong{display:grid;place-items:center;height:33px;border-radius:20px;border:1px solid #fff7;background:#e9c7ef99;font-size:25px;font-weight:400;transform:translateX(-67px)}.history-tag{display:grid;place-items:center;width:56px;height:30px;margin-left:26px;border:1px solid #fff7;border-radius:18px;background:#e8b8ef9c;font-size:23px;color:#341052}.history-tag.pink{background:#ef9ecce0;color:#fff;margin-left:5px;text-shadow:0 1px 2px #a7588d66}.history-tag.purple{background:#c397dfaa;color:#fff;margin-left:4px;font-size:20px;text-shadow:0 1px 2px #885ba169}
.ref-caption{position:absolute;left:0;right:0;top:738px;text-align:center;line-height:30px;font-size:16px;letter-spacing:1px;color:#644278;z-index:2}.ref-caption span{font-size:23px;letter-spacing:6px;margin:0 12px}.ref-caption:before,.ref-caption:after{content:"";display:inline-block;vertical-align:middle;width:74px;height:1px;background:linear-gradient(90deg,transparent,#8e62a480);margin:0 8px}.ref-caption:after{transform:rotate(180deg)}
.ref-blossom{position:absolute;z-index:4;left:1089px;top:92px;width:65px;height:78px;pointer-events:none;opacity:.78}.ref-blossom i{position:absolute;left:21px;top:14px;width:24px;height:48px;border-radius:85% 5% 75% 30%;transform-origin:50% 75%;transform:rotate(calc(var(--petal)*36deg)) translateY(-11px);background:linear-gradient(130deg,#fff9eb,#ffd1e7 42%,#ee9dce);border:1px solid #ffe5f0a8;box-shadow:inset 3px 3px 5px #fff6}.ref-blossom b{position:absolute;left:24px;top:39px;width:18px;height:16px;border-radius:50%;background:radial-gradient(#ffeec0,#e7a2cb);z-index:2}.ref-blossom:after{content:"✧ · ✦";position:absolute;width:115px;left:-45px;top:40px;color:#ffebf5;font-size:22px;letter-spacing:6px;transform:rotate(35deg)}
.ref-ribbons{position:absolute;inset:0;pointer-events:none;z-index:0;background:radial-gradient(circle at 96% 23%,#fff9 0 1px,transparent 2px),radial-gradient(circle at 4% 94%,#ffd7f57a,transparent 23%)}.ref-ribbons i{position:absolute;left:-24px;bottom:11px;width:125px;height:75px;border-bottom:13px solid #f0b6e2a6;border-left:8px solid #d59ce1a6;border-radius:50%;transform:rotate(34deg)}.ref-ribbons b{position:absolute;left:28px;bottom:-61px;width:620px;height:110px;border-top:2px solid #f9d3f47a;border-radius:50%;transform:rotate(16deg);box-shadow:0 -12px 13px #efd7f254,0 -22px 4px #d7ade538}.ref-ribbons span{position:absolute;right:-98px;bottom:4px;width:530px;height:100px;border-top:2px solid #f7d9f270;border-radius:50%;transform:rotate(-10deg);box-shadow:0 -8px 0 #f9d4f236,0 -16px 0 #f4d5f123,0 -24px 0 #f8dbf222}
/* Original functionality continues after the complete 784px reference canvas. */
html[data-theme][lang] body.home-page .continuation-header{margin-top:18px!important}.continuation-header .c28-brand-row{display:none!important}.continuation-header .primary-nav{margin-top:10px!important}html[data-theme][lang] body.home-page .continuation-header{padding-top:10px}.home-page .home-layout .draw-banner-panels{order:0}.home-page .home-layout .home-scratch{order:1}.home-page .home-layout #c28-home-chat{order:2}.home-page .home-layout .history-board{order:3}
@media(min-width:1169px){.reference-canvas{border-radius:0 0 20px 20px}}
@media(min-width:701px) and (max-width:1167px){.reference-canvas{height:calc(100vw * .6712329)}.ref-header,.ref-stage,.ref-caption,.ref-blossom,.ref-ribbons{transform:scale(calc(100vw / 1168px));transform-origin:top left}.ref-header{left:calc(14 * 100vw / 1168);top:calc(9 * 100vw / 1168)}.ref-stage{left:calc(14 * 100vw / 1168);top:calc(130 * 100vw / 1168)}.ref-caption{top:calc(738 * 100vw / 1168);width:1168px;right:auto}.ref-blossom{left:calc(1089 * 100vw / 1168);top:calc(92 * 100vw / 1168)}}
@media(max-width:700px){.reference-canvas{height:auto;min-height:664px;padding:8px 10px 24px;overflow:hidden}.ref-header{position:relative;left:auto;top:auto;width:100%;height:133px;border-radius:21px}.ref-brand{left:13px;top:10px;height:66px;gap:13px}.ref-logo{width:58px;height:58px}.ref-logo i{bottom:8px;left:20px;width:16px;height:34px}.ref-logo:after{bottom:6px;left:10px;width:35px}.ref-brand strong{font-size:34px}.ref-brand small{font-size:12px;line-height:22px;letter-spacing:.5px}.ref-nav{left:7px;right:7px;top:83px;height:38px;gap:1px;justify-content:space-between}.ref-nav a,.ref-nav a:first-child{font-size:12px;gap:4px;width:auto;height:35px;padding:0 7px}.ref-nav a svg{width:16px;height:16px}.ref-nav a[aria-current=page]{width:auto}.ref-heart{display:none}html[data-theme][lang] body.home-page .ref-header .theme-toggle{right:7px;top:18px;width:40px;height:40px}.ref-header .theme-toggle>svg{width:28px;height:28px}.ref-stage{position:relative;left:auto;top:auto;width:100%;height:486px;margin-top:10px;border-radius:22px}.ref-stage>#ref-heading{left:18px;top:11px;font-size:20px}.ref-result{left:12px;right:12px;top:57px;width:auto;height:202px;border-radius:20px}.ref-issue{top:12px;left:16px;font-size:16px}.ref-issue small{display:block;margin:0;font-size:10px;line-height:16px}.ref-equation{left:13px;right:13px;top:70px;height:63px;gap:8px;justify-content:center}.ref-ball{width:56px;height:56px;font-size:31px}.ref-ball:before{inset:10px}.ref-equation i{font-size:24px;width:10px}.ref-equation strong{width:49px;height:41px;font-size:27px}.ref-equation>b{position:absolute;right:1px;top:82px;width:37px;height:28px;font-size:17px}.ref-classifications{top:151px;left:30px;gap:13px}.ref-classifications span{width:61px;height:29px;font-size:18px}.ref-classifications span:last-child{font-size:17px}.ref-clock{left:12px;right:12px;top:272px;width:auto;height:194px;border-radius:20px}.ref-clock h2{top:10px;font-size:18px;line-height:26px}.ref-clock>strong{top:39px;font-size:49px;line-height:58px}.ref-time-units{top:94px;left:35px;right:35px;font-size:14px}.ref-clock-rule{top:123px}.ref-clock>p{top:138px;font-size:15px}.ref-clock>[data-ref=next]{top:163px;font-size:18px}.ref-waiting .ref-clock>strong{font-size:37px}.ref-history{display:none}.ref-caption{position:relative;top:auto;left:auto;right:auto;margin:10px -5px 0;font-size:10px;line-height:18px;letter-spacing:0}.ref-caption:before,.ref-caption:after{display:none}.ref-caption span{font-size:12px;margin:0 4px;letter-spacing:2px}.ref-blossom{left:auto;right:-1px;top:123px;transform:scale(.65);transform-origin:top right}.home-page .home-layout .draw-banner-panels{order:5}.home-page .home-layout .home-scratch{order:0}.home-page .home-layout #c28-home-chat{order:1}.home-page .home-layout .history-board{order:2}html[data-theme][lang] body.home-page .records-workbench{order:3!important}.home-page .home-layout .workspace-links{order:6!important}}

@media(max-width:700px){html[data-theme][lang] body.home-page>#c28-home-chat{position:relative;top:auto;width:min(calc(100% - 20px),1248px);margin:18px auto 0}}
@media(max-width:350px){.ref-equation{gap:6px;left:8px;right:8px}.ref-ball{width:46px;height:46px;font-size:27px}.ref-equation strong{width:43px;height:37px;font-size:24px}.ref-classifications{left:18px;gap:10px}.ref-classifications span{width:56px}.ref-nav a,.ref-nav a:first-child{font-size:11px;padding:0 5px}.ref-nav a svg{width:14px;height:14px}.ref-brand strong{font-size:31px}.ref-brand small{font-size:11px}}
@media(prefers-reduced-motion:reduce){.reference-canvas *{transition:none!important;animation:none!important}}
/* User-authorized local decorative crops only. No text, values or controls come from this image. */
.ref-logo{background-image:url('/leying-reference-ornaments.v2.lossless.webp');background-repeat:no-repeat;background-size:1168px 784px;background-position:-33px -27px;border:0}.ref-logo i,.ref-logo:after{display:none}
.ref-blossom{left:1045px;top:90px;width:123px;height:126px;opacity:1;background:url('/leying-reference-ornaments.v2.lossless.webp') -1045px -90px/1168px 784px no-repeat}.ref-blossom i,.ref-blossom b,.ref-blossom:after{display:none}
.ref-ribbons i{left:0;bottom:0;width:279px;height:56px;border:0;border-radius:0;transform:none;background:url('/leying-reference-ornaments.v2.lossless.webp') 0 -728px/1168px 784px no-repeat}.ref-ribbons span{right:0;bottom:0;width:268px;height:56px;border:0;border-radius:0;transform:none;box-shadow:none;background:url('/leying-reference-ornaments.v2.lossless.webp') -900px -728px/1168px 784px no-repeat}
@media(max-width:700px){.ref-logo{background-size:869px 583px;background-position:-24.56px -20.11px}.ref-blossom{left:auto;right:-1px;top:123px;width:123px;height:126px}}
/* Pixel comparison refinements: palette, table columns and soft ornament joins. */
.reference-canvas{background:radial-gradient(ellipse at 47% 110%,#e9dbf3 0,transparent 58%),linear-gradient(0deg,#cfa9ec 0,transparent 78%),linear-gradient(105deg,#6647bc 0%,#5e46a8 26%,#856ab9 52%,#dea7de 100%)}
.ref-header{background:linear-gradient(110deg,#39277fd9,#412d85c9 34%,#b789c333 83%,#efbbdd20)}
.ref-nav{gap:12px}.ref-clock>strong{font-weight:500}.ref-result{background:radial-gradient(ellipse at 18% 0,#9c77e28c 0,transparent 48%),linear-gradient(110deg,#6547be 0%,#7751bf 43%,#c382d2 77%,#f1a9df 100%)}
.ref-result-orbits{left:107px;top:-110px;border-color:transparent;border-bottom-color:#ffdcf24d}.ref-result-orbits:after{font-size:12px;word-spacing:36px;bottom:0;right:18px}
.ref-history-row{grid-template-columns:269px 66px 66px 66px 103px 202px 78px 79px 79px}.ref-equals{padding-left:0}.ref-history-row>strong{width:95px;transform:none;margin-left:22px}.history-tag,.history-tag.pink,.history-tag.purple{margin-left:13px}.ref-history-row{font-size:20px}.ref-blossom{mask-image:radial-gradient(ellipse at 65% 35%,#000 33%,#000c 46%,transparent 72%)}.ref-ribbons i{mask-image:linear-gradient(90deg,#000 68%,transparent)}.ref-ribbons span{mask-image:linear-gradient(90deg,transparent,#000 50%)}
html[data-theme][lang] body.home-page .ref-header .theme-toggle svg{color:#fff!important;stroke:#fff!important;fill:none!important}
@media(max-width:700px){.ref-nav{gap:1px}.ref-history-row{grid-template-columns:269px 66px 66px 66px 103px 202px 78px 79px 79px}}
@media(min-width:701px){.ref-equation{width:590px;display:block}.ref-equation>*{position:absolute;margin:0!important}.ref-equation>[data-ref=a]{left:0;top:0}.ref-equation>i:nth-child(2){left:106px;top:22px}.ref-equation>[data-ref=b]{left:144px;top:0}.ref-equation>i:nth-child(4){left:250px;top:22px}.ref-equation>[data-ref=c]{left:285px;top:0}.ref-equation>i:nth-child(6){left:396px;top:22px}.ref-equation>[data-ref=sum]{left:441px;top:17px}.ref-equation>[data-ref=size]{left:532px;top:27px}}
.ref-issue{font-weight:400}.ref-history h2{transform:translateY(1px)}
@media(min-width:701px){.ref-clock>strong{top:53px;font-size:60px;font-weight:600}.ref-waiting .ref-clock>strong{font-size:43px}}
.ref-result-orbits{left:385px;top:137px;width:322px;height:71px;border:0;border-radius:0;transform:none;background:url('/leying-reference-ornaments.v2.lossless.webp') -430px -332px/1168px 784px no-repeat;mask-image:linear-gradient(transparent,#000 50%)}.ref-result-orbits:before,.ref-result-orbits:after{display:none}.ref-result:after{content:"✦";position:absolute;left:657px;top:39px;color:#ffeffb;font-size:14px}
@media(max-width:700px){.ref-result-orbits{left:auto;right:0;top:131px;width:210px;height:71px;background-position:-542px -332px}.ref-result:after{left:auto;right:20px;top:53px}}
@media(min-width:701px){.ref-stage>#ref-heading,.ref-history h2{font-size:26px}}
.ref-result-orbits{mask-image:radial-gradient(ellipse 95% 100% at 65% 100%,#000 0%,#000a 45%,transparent 78%)}
/* Mobile ornament transport: retain the reference layout, render small ornaments in CSS.
   No large desktop background image is requested at <=700px. Desktop remains byte-for-byte styling-equivalent. */
@media(max-width:700px){
 .ref-logo{background:radial-gradient(ellipse at center,#563a8d,#271448);border:2px solid #f8e7b6}
 .ref-logo i,.ref-logo:after{display:block}
 .ref-blossom{background:none;mask-image:none;opacity:.78}
 .ref-blossom i{display:block;left:64px;top:6px}
 .ref-blossom b{display:block;left:67px;top:31px}
 .ref-blossom:after{display:block;left:0;top:32px}
 .ref-ribbons i{background:none;left:-24px;bottom:11px;width:125px;height:75px;border-bottom:13px solid #f0b6e2a6;border-left:8px solid #d59ce1a6;border-radius:50%;transform:rotate(34deg);mask-image:none}
 .ref-ribbons span{background:none;right:-98px;bottom:4px;width:530px;height:100px;border-top:2px solid #f7d9f270;border-radius:50%;transform:rotate(-10deg);box-shadow:0 -8px 0 #f9d4f236,0 -16px 0 #f4d5f123,0 -24px 0 #f8dbf222;mask-image:none}
 .ref-result-orbits{background:none;border-bottom:1px solid #ffdcf24d;border-radius:50%;transform:rotate(-10deg);mask-image:none}
 .ref-result-orbits:before{display:block}
}

/* One mobile-only first-screen chat entry; the full home chat keeps its existing position. */
.ref-chat-quick{display:none}
@media(max-width:700px){.reference-canvas .ref-chat-quick{display:flex;width:calc(100% - 20px);height:48px;margin:10px auto 0;padding:0 18px;align-items:center;justify-content:center;gap:10px;border:1px solid #f8d8ff;border-radius:18px;color:#fff!important;background:linear-gradient(120deg,#6d3fc4,#bf65c8 56%,#e691c7);box-shadow:0 8px 18px #6433a42f,inset 0 1px 0 #fff8;font-size:16px;letter-spacing:.5px;text-decoration:none}.reference-canvas .ref-chat-quick span{font-size:14px;color:#ffe9ff}.reference-canvas .ref-chat-quick strong{font-size:16px}.reference-canvas .ref-chat-quick small{font-size:11px;color:#fff;opacity:.88}.reference-canvas .ref-chat-quick:focus-visible{outline:3px solid #fff;outline-offset:2px}}
