@import url('/ui.css');
:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#292338;background:#eeeaf3;font-synthesis:none;--purple:#7547a1;--purple-dark:#4b2b6d;--lavender:#f1eaf9;--ink:#30253f;--muted:#8d8199;--line:#e9e2ee;--gold:#d7b77c;--safe:env(safe-area-inset-bottom,0px)}*{box-sizing:border-box}body{margin:0;font-size:15px;line-height:1.65}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}img{max-width:100%;display:block}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #cba553;outline-offset:3px}input,textarea,select{width:100%;background:#fff;border:1px solid #d8cce2;border-radius:10px;padding:12px;color:var(--ink)}textarea{resize:vertical}label{display:block;text-align:left;font-size:13px;font-weight:600;margin:13px 0}label input,label textarea,label select{display:block;margin-top:6px}h1,h2,h3,p{margin-top:0}h2{font-size:22px;line-height:1.4}h3{font-size:17px}small{font-size:11px}button{border:0}.primary-button,.secondary-button,.danger-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:12px;padding:12px 18px;min-height:46px;font-weight:600}.primary-button{background:linear-gradient(135deg,#9560ba,#70419b);color:#fff}.secondary-button{background:#eee7f5;color:#754598}.danger-button{background:#fff0f1;color:#a94657}.full-width{width:100%}.muted{color:var(--muted);font-size:13px}.text-link{border:0;background:none;color:inherit;padding:8px 0}.icon-button{background:none;border:0;width:42px;height:42px;border-radius:50%;font-size:24px;display:grid;place-items:center}.icon-button:hover{background:#f2edf5}.button-row{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0}.button-row>*{flex:1}.empty-state{text-align:center;padding:60px 25px;color:var(--muted)}.empty-state>span{font-size:45px;color:#b69aca}.empty-state h1,.empty-state h2{font-size:20px;color:var(--ink);margin:12px 0}.empty-state .primary-button{color:white;margin-top:15px}.loading{padding:80px 20px;text-align:center;color:var(--muted)}.error-panel{background:#fff3e6;color:#885b35;border:1px solid #f2dac1;border-radius:12px;padding:15px;margin:14px 0;font-size:13px}.notice{background:#f4eff8;border:1px solid #e3d6ed;border-radius:12px;padding:13px 15px;font-size:13px;color:#79638b}.notice p:last-child{margin-bottom:0}dialog{padding:26px;border:0;border-radius:22px;width:calc(100% - 36px);max-width:420px;max-height:88dvh;color:var(--ink);box-shadow:0 25px 90px #180e3755}dialog::backdrop{background:#1b102177;backdrop-filter:blur(5px)}dialog form{position:relative}dialog h2{margin:14px 0 8px}.dialog-close{position:absolute;top:-13px;right:-12px;border:0;background:none;font-size:26px;color:#897a94;width:36px;height:36px}#login-message{font-size:13px;color:#a84654;min-height:1.4em}.guest-link{display:block;text-align:center;font-size:13px;margin-top:17px;color:#856b98}.sheet-dialog{padding:0;max-width:460px}.sheet-header{position:sticky;top:0;background:white;z-index:3;display:flex;align-items:center;justify-content:space-between;padding:13px 17px;border-bottom:1px solid var(--line)}.sheet-header h2{font-size:18px;margin:0}.sheet-body{padding:20px;max-height:72dvh;overflow:auto;overscroll-behavior:contain}.sheet-body p{white-space:pre-wrap;overflow-wrap:anywhere}#toast{position:fixed;z-index:1000;bottom:calc(90px + var(--safe));left:50%;transform:translate(-50%,20px);background:#30223be8;color:#fff;border-radius:10px;padding:11px 18px;max-width:calc(100vw - 42px);width:max-content;font-size:13px;pointer-events:none;opacity:0;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}
/* Public introduction: mobile composition, moonlight and warm metallic accents. */
.landing{background:#171222;color:#eee9f5}.landing-shell{max-width:520px;margin:auto;overflow:hidden;background:#171222}.landing-header{padding:24px 25px;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:2}.wordmark{display:flex;align-items:center;gap:9px;font-family:Georgia,"Songti SC",serif;font-size:17px;letter-spacing:2px}.wordmark small{display:block;font-family:Arial,sans-serif;letter-spacing:2.5px;font-size:7px;color:#c3a67c;margin-top:2px}.brand-symbol{font-size:37px;color:#ddc090;font-weight:400}.landing-header .text-link{font-size:12px;color:#dbcfdf}.landing-header .text-link span{margin-left:7px;color:#d6b983}.hero{text-align:center;padding:35px 26px 32px;background:radial-gradient(ellipse at 52% 68%,#54366366,transparent 57%)}.eyebrow,.section-kicker{font-size:9px;letter-spacing:2.8px;font-weight:500;color:#c4a879}.eyebrow{display:flex;align-items:center;justify-content:center;gap:8px}.eyebrow>span{width:5px;height:5px;border-radius:50%;background:#cfb180}.hero h1{font-family:Georgia,"Songti SC",serif;font-size:clamp(32px,10.2vw,45px);line-height:1.45;letter-spacing:1.3px;margin:23px 0 13px;font-weight:500}.hero h1>span{color:#dabb86}.hero-sub{font-size:12px;letter-spacing:1.3px;color:#ad9fb9;line-height:2;margin:0 auto;max-width:265px}.hero-art{height:340px;position:relative;max-width:360px;margin:12px auto 13px}.hero-card{position:absolute;width:111px;height:192px;object-fit:cover;border:1px solid #b9946655;border-radius:8px;box-shadow:0 14px 40px #0e061c99;top:69px;left:calc(50% - 55px)}.hero-left{transform:rotate(-17deg)translate(-72px,16px);filter:brightness(.75)}.hero-right{transform:rotate(17deg)translate(72px,16px);filter:brightness(.8)}.hero-center{transform:translateY(-7px);width:124px;height:212px;left:calc(50% - 62px)}.orbit{position:absolute;left:50%;top:54%;border:1px solid #d3b7832e;border-radius:50%;transform:translate(-50%,-50%)}.orbit-one{width:296px;height:296px}.orbit-two{width:328px;height:328px;border-style:dashed;border-color:#c2a3761c}.art-spark{position:absolute;color:#e4c792;font-size:24px}.spark-one{top:44px;right:19px}.spark-two{bottom:55px;left:18px;font-size:19px}.art-moon{position:absolute;top:15px;left:45%;color:#c9a975;font-size:31px;transform:rotate(-24deg)}.art-label{position:absolute;bottom:5px;width:100%;font-size:7px;letter-spacing:4px;color:#a58b72}.gold-button{display:flex;justify-content:space-between;align-items:center;gap:15px;width:100%;border-radius:4px;padding:16px 21px;background:#d4b47c;color:#271c2f;min-height:53px;font-size:14px;font-weight:600;letter-spacing:1px}.gold-button span{font-size:21px}.hero-note{font-size:9px;color:#8f809d;letter-spacing:.6px;margin:15px 0}.journey{padding:55px 25px 40px;background:#f6f1e9;color:#372c3c;border-radius:31px 31px 0 0}.journey .section-kicker{color:#997542}.journey>h2{font-family:Georgia,"Songti SC",serif;font-weight:500;font-size:31px;line-height:1.55;margin:14px 0}.journey>p{font-size:12px;line-height:1.9;color:#8b7d89;margin-bottom:29px}.feature-story{display:block;position:relative;background:#e9e1ed;border-radius:15px;padding:22px 23px;margin-top:14px;overflow:hidden}.feature-number{font-size:8px;letter-spacing:2px;color:#a18baf}.feature-story h3{font-family:Georgia,"Songti SC",serif;font-size:20px;font-weight:500;line-height:1.6;margin:12px 0 7px}.feature-story p{font-size:11px;line-height:1.9;color:#8e7f96;max-width:250px;margin:0}.story-cards{display:flex;justify-content:center;height:170px;gap:10px;margin-top:22px;overflow:hidden}.story-cards img{width:80px;align-self:flex-start;border-radius:4px;box-shadow:0 7px 20px #796a8730}.story-cards img:nth-child(1){transform:rotate(-7deg)translateY(14px)}.story-cards img:nth-child(3){transform:rotate(7deg)translateY(14px)}.feature-arrow{position:absolute;right:22px;bottom:16px;font-size:22px;color:#8c729e}.light-story{background:#e8e2d8;min-height:240px}.light-story .feature-number{color:#a18c73}.ritual-symbols{font-family:Georgia,serif;font-size:55px;letter-spacing:20px;text-align:center;padding-top:20px;color:#9b8366}.ritual-symbols span{font-size:72px;line-height:1;color:#78638a}.how{padding:45px 26px;background:#f6f1e9;color:#372c3c}.how h2{font-family:Georgia,"Songti SC",serif;font-size:26px;margin:14px 0 20px;font-weight:500}.how ol{list-style:none;margin:0;padding:0}.how li{display:flex;gap:17px;padding:20px 0;border-bottom:1px solid #ded5cf}.how li>span{font:21px Georgia,serif;color:#ab8a5d;padding-top:2px}.how li h3{font-size:14px;margin:0 0 5px;font-weight:500}.how li p{font-size:11px;color:#998a95;margin:0}.how .gold-button{margin-top:27px}.faq{padding:42px 26px}.faq h2{font-family:Georgia,"Songti SC",serif;font-size:23px;line-height:1.6;font-weight:500;margin-bottom:22px}.faq details{border-top:1px solid #3a2e48;padding:15px 0}.faq summary{cursor:pointer;font-size:12px;color:#e4d9ed;list-style:none;display:flex;justify-content:space-between}.faq summary:after{content:'+';color:#bea16e}.faq details[open] summary:after{content:'−'}.faq p{font-size:11px;color:#a99ab6;line-height:1.9;margin:12px 0 0}.final-cta{text-align:center;padding:25px 25px 50px}.final-cta>span{font-size:29px;color:#d6b17b}.final-cta h2{font-family:Georgia,"Songti SC",serif;font-size:23px;line-height:1.6;font-weight:500;margin:17px 0}.final-cta>a{font-size:12px;color:#d7b981;border-bottom:1px solid #795f3e;padding-bottom:8px}.landing-footer{padding:27px 25px calc(27px + var(--safe));border-top:1px solid #3a2d46;text-align:center}.landing-footer>span{font-family:Georgia,"Songti SC",serif;font-size:17px;letter-spacing:3px;color:#ded3e8}.landing-footer p{font-size:8px;letter-spacing:1.1px;color:#8f7f9f;margin:8px 0 14px}.landing-footer a{font-size:10px;color:#b9a4c9}.landing-footer small{display:block;margin-top:16px;font-size:9px;color:#7a6a88}.landing dialog{background:#fbf8fd;color:#3d2a4c}.landing .eyebrow{justify-content:flex-start}.landing dialog .primary-button{width:100%}
/* Shared mobile tool shell and account administration. */
.app-body{background:#ece7f2}.app-shell{width:100%;max-width:480px;margin:0 auto;min-height:100dvh;background:#fbf9fd;box-shadow:0 0 40px #3e225015}.app-header{height:58px;padding:0 13px;position:sticky;top:0;z-index:20;background:#fbf9fdf5;backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #efe8f3}.app-header h1{font-size:18px;font-weight:600;margin:0;letter-spacing:.8px}.app-header .icon-button{font-size:22px;color:#8a58aa}.app-main{padding:16px 16px calc(90px + var(--safe));min-height:calc(100dvh - 58px)}.app-main.edge{padding-left:0;padding-right:0}.bottom-nav{max-width:480px;position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;height:calc(66px + var(--safe));padding:5px 8px calc(5px + var(--safe));display:grid;grid-template-columns:repeat(4,1fr);background:#fffffff5;backdrop-filter:blur(15px);border-top:1px solid var(--line);z-index:25}.bottom-nav a{display:flex;align-items:center;justify-content:center;flex-direction:column;color:#b4a6bf;font-size:10px;gap:1px}.bottom-nav .nav-icon{font-size:23px;line-height:1.25;font-family:Georgia,serif}.bottom-nav a.active{color:#9661b9}.panel{background:#fff;border:1px solid #eee7f3;border-radius:16px;padding:17px;margin-bottom:14px;box-shadow:0 4px 20px #6c458405}.row-link{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:54px;padding:13px 4px;border-bottom:1px solid #f0eaf5}.row-link:last-child{border-bottom:0}.row-link>span:last-child{color:#b7a5c6}.page-intro{margin:0 0 20px}.page-intro .eyebrow{justify-content:flex-start;color:#a486b7}.page-intro h2{font-size:24px;margin:5px 0}.chip-row{display:flex;gap:8px;overflow:auto;scrollbar-width:none;margin-bottom:15px;padding:2px}.chip-row button,.chip-row a{flex-shrink:0;border-radius:20px;padding:8px 16px;font-size:12px;white-space:nowrap;background:#eee8f3;color:#9a81ac;min-height:36px}.chip-row .active{background:#8b59ac;color:#fff}.category-tabs{display:flex;overflow:auto;scrollbar-width:none;gap:0;background:#fff;margin:-16px -16px 18px;border-bottom:1px solid var(--line);position:sticky;top:58px;z-index:15}.category-tabs button{flex:1;white-space:nowrap;padding:14px 11px;background:none;color:#9787a1;font-size:13px;min-width:51px;border-bottom:2px solid transparent}.category-tabs .active{color:#8a4fb1;border-color:#a66fc8;font-weight:600}.card-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px 13px}.card-tile{border:0;background:none;padding:0;text-align:center;font-size:12px;color:#715780}.card-tile img{width:100%;aspect-ratio:0.58;object-fit:contain;border-radius:8px;background:#eee6f5;box-shadow:0 4px 10px #58357315}.card-tile span{display:block;margin-top:7px}.section-title{display:flex;justify-content:space-between;align-items:center;margin:21px 0 14px}.section-title h2{font-size:17px;margin:0}.section-title a{font-size:11px;color:#a184b3}.read-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.95;color:#73627e}.read-text h3{font-size:16px;color:#5d3f73}.meaning-section{border-top:1px solid var(--line);padding-top:15px;margin-top:15px}.meaning-section>summary{font-size:15px;color:#6d4d87;font-weight:600;cursor:pointer}.meaning-section p{margin:11px 0 0;white-space:pre-wrap}.detail-card{width:148px;margin:6px auto 18px;border-radius:9px;box-shadow:0 7px 22px #39214826}.detail-heading{text-align:center;color:#67437f}.detail-heading h2{margin:8px 0;font-size:21px}.badge{font-size:10px;border:1px solid #d9c9e2;color:#976faf;padding:4px 8px;border-radius:20px;display:inline-block}.search-field{margin:0 0 18px;background:#f3edf8;border-color:transparent;padding:11px 14px}.tile-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.tool-tile{border:1px solid #e6dbee;background:#f6effb;border-radius:13px;text-align:left;min-height:110px;padding:17px 15px;position:relative;overflow:hidden}.tool-tile .tool-symbol{font-size:30px;color:#a27dba;font-family:Georgia,serif;line-height:1.1;display:block;margin-bottom:9px}.tool-tile strong{font-size:14px;color:#8962a3;font-weight:500;display:block}.tool-tile small{color:#b19ac0;font-size:10px;display:block;margin-top:3px}.toggle-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px 0}.toggle-row input{width:22px;height:22px;accent-color:#8753a5}.admin-shell{max-width:480px;margin:auto;padding:25px 20px 60px;min-height:100dvh;background:#fbf9fd}.admin-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.admin-header h1{font-size:22px;margin:0}.admin-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:20px}.admin-summary article{background:#eee6f5;padding:16px 10px;border-radius:12px;text-align:center}.admin-summary strong{display:block;font-size:26px;color:#805599}.admin-summary span{font-size:10px;color:#ac8dbb}.user-row{padding:14px 0;border-bottom:1px solid var(--line)}.user-row strong{font-size:14px}.user-row .button-row button{font-size:11px;min-height:34px;padding:7px 9px}.audit-item{font-size:11px;color:#9b87a9;border-bottom:1px solid var(--line);padding:8px 0}.skeleton{background:linear-gradient(90deg,#f1eaf7,#faf7fd,#f1eaf7);background-size:200%;animation:shimmer 1.2s infinite;height:160px;border-radius:14px}@keyframes shimmer{to{background-position:-200%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}@media(min-width:600px){.landing-shell{box-shadow:0 0 100px #05020c}.app-shell,.admin-shell{box-shadow:0 0 50px #47275f18}body{background-attachment:fixed}.landing{background:radial-gradient(ellipse at top,#342341,#110c19)}.hero-art{height:360px}.hero h1{font-size:49px}}
