:root{color-scheme:light;--bg:#fff;--ink:#111214;--muted:#676a70;--accent:#ff591c;--on-accent:#fff;--surface:#f3f4f5;--outline:#d9dbdd;--page-pad:clamp(24px,4.3vw,80px)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",Arial,sans-serif}body{background:var(--bg);color:var(--ink)}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{color:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}button{border:0;background:none}button:disabled{cursor:wait;opacity:.65}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:5px}button,a{touch-action:manipulation}::selection{background:#ffb789;color:#101010}.home{position:relative;isolation:isolate;display:flex;flex-direction:column;min-height:100svh;overflow:hidden}.header{height:104px;padding:0 var(--page-pad);display:flex;align-items:center;gap:40px;position:relative;z-index:3;background:var(--bg)}.brand{display:flex;align-items:center;gap:14px;white-space:nowrap}.brand-mark{font-family:"KaiTi","STKaiti",serif;font-size:39px;color:var(--accent);font-weight:bold;transform:rotate(-8deg)}.brand-name{font-size:25px;font-weight:700;letter-spacing:-1px}.brand-sub{font-size:16px;color:var(--muted);padding-left:3px}.header nav{display:flex;gap:35px;margin-left:auto}.header nav button,.login-button{min-height:44px;font-size:16px}.header-actions{display:flex;align-items:center;gap:30px;margin-left:40px}.login-button span{margin-left:8px}.theme-toggle{display:flex;align-items:center;gap:9px;min-height:44px;padding:0 13px;background:var(--surface);border-radius:24px;font-size:13px}.theme-toggle svg{width:19px;height:19px}.moon{display:none}[data-theme="dark"] .sun{display:none}[data-theme="dark"] .moon{display:block}.hero{min-height:530px;flex:1;position:relative;display:flex;align-items:center;padding:90px var(--page-pad) 118px;z-index:1}.hero-copy{position:relative;z-index:2}.hero h1{font-size:clamp(46px,5.6vw,98px);font-weight:700;letter-spacing:-.055em;line-height:1.14;margin:0 0 27px;white-space:nowrap}.hero-copy p{font-size:clamp(17px,1.8vw,29px);font-weight:400;color:var(--muted);margin:0;line-height:1.6;letter-spacing:.01em}.hero-actions{display:flex;align-items:center;gap:20px;margin-top:43px}.button{min-height:61px;padding:0 30px;display:inline-flex;justify-content:center;align-items:center;gap:25px;border-radius:50px;font-size:17px;font-weight:500;transition:transform .25s,background-color .25s}.button:hover{transform:translateY(-3px)}.button:active{transform:scale(.97)}.primary{background:var(--accent);color:var(--on-accent)}.primary:hover{background:#ed4a0d}.secondary{background:var(--surface)}.button span{font-size:23px}.mobile-break{display:none}.art{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}.art canvas,.art-fallback{position:absolute;inset:0;width:100%;height:100%}.art canvas{opacity:0}.art.ready canvas{opacity:1}.art.ready .art-fallback{visibility:hidden}/* taste-skill-ignore: alpha masks preserve the original dragon pixels and remove reference UI; not a decorative gradient fill. */ .art-fallback{mask-image:linear-gradient(to right,transparent 51.5%,#000 58%);-webkit-mask-image:linear-gradient(to right,transparent 51.5%,#000 58%)}.art-fallback img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.dark-image{opacity:0}[data-theme="dark"] .light-image{opacity:0}[data-theme="dark"] .dark-image{opacity:1}.scene-note{position:absolute;bottom:30px;left:var(--page-pad);display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted)}.note-line{width:22px;height:3px;background:var(--accent)}.motion-hint{margin-left:12px;opacity:.75}.tool-shelf{position:relative;z-index:3;background:var(--bg);padding:28px var(--page-pad);display:flex;align-items:center;gap:32px;min-height:105px}.featured-tool{display:flex;align-items:center;gap:20px;font-size:22px;font-weight:600;white-space:nowrap}.featured-tool svg{width:35px;height:35px}.platform-links{display:flex;gap:24px;margin-left:20px;color:var(--muted);font-size:15px}.platform-links a,.platform-links button{padding:12px 0;min-height:44px;white-space:nowrap}.platform-links span{font-size:13px;margin-left:5px;opacity:0;transition:opacity .2s}.platform-links a:hover span,.platform-links button:hover span{opacity:1}.more-tools{font-size:15px;margin-left:auto;min-height:44px;white-space:nowrap}.more-tools span{margin-left:18px}.header nav button:hover,.login-button:hover,.platform-links button:hover,.platform-links a:hover,.more-tools:hover{color:var(--accent)}footer{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;gap:28px;background:var(--bg);color:var(--muted);font-size:12px;padding:16px var(--page-pad) 22px;min-height:58px}.demo-label{position:absolute;right:var(--page-pad);font-size:12px;opacity:.65}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{width:min(580px,calc(100% - 32px));max-height:85svh;overflow:auto;padding:30px;border:none;border-radius:16px;background:var(--bg);color:var(--ink);box-shadow:0 28px 100px #0004}dialog::backdrop{background:#1118;backdrop-filter:blur(9px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.dialog-brand{color:var(--muted);font-size:14px}.dialog-top button{font-size:30px;width:44px;height:44px;background:var(--surface);border-radius:50%}dialog h2{font-size:30px;line-height:1.3;margin:0 0 15px;letter-spacing:-1px}dialog p{font-size:16px;line-height:1.7;color:var(--muted)}.option-row{display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--surface);padding:20px;margin-top:12px;border-radius:8px}.option-row strong{display:block;font-size:17px}.option-row small{display:block;color:var(--muted);font-size:13px;margin-top:8px}.option-row .status{font-size:13px;color:var(--muted);white-space:nowrap}.dialog-note{font-size:13px!important;margin-top:22px}.tool-action{width:100%;text-align:left}.tool-action:hover{color:var(--accent)}.form-field{display:block;margin:20px 0}.form-field span{display:block;font-size:14px;margin-bottom:10px}.form-field input,.form-field textarea{width:100%;background:var(--surface);border:1px solid var(--outline);border-radius:6px;padding:14px;color:var(--ink);font-size:16px}.form-field textarea{min-height:160px;resize:vertical}.dialog-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.dialog-actions .button{min-height:50px;font-size:15px}.field-error{color:#b53019!important}.no-script{position:fixed;bottom:0;background:var(--surface);padding:12px;z-index:10}
@media(min-width:1800px){.hero{min-height:650px}}@media(max-width:1100px){.header{height:88px;gap:20px}.header-actions{margin-left:12px;gap:18px}.header nav{gap:22px}.brand-name{font-size:22px}.brand-sub{display:none}.hero{min-height:550px;padding-top:80px}.hero h1{font-size:clamp(45px,6.2vw,69px)}.hero-copy p{font-size:20px}.tool-shelf{gap:20px}.featured-tool{font-size:19px}.platform-links{gap:18px;margin-left:0}.featured-tool svg{width:30px}.motion-hint{display:none}}
@media(max-width:700px){:root{--page-pad:24px}.home{min-height:100svh}.header{height:84px;gap:12px}.brand{gap:8px}.brand-name{font-size:19px;letter-spacing:-.7px}.brand-mark{font-size:31px}.header nav{display:none}.header-actions{gap:10px;margin-left:auto}.theme-toggle{padding:0 10px;min-width:42px;justify-content:center}.theme-toggle span{display:none}.login-button{font-size:14px;padding:0}.login-button span{display:none}.hero{min-height:630px;align-items:flex-start;padding-top:54px;padding-bottom:74px}.hero h1{font-size:clamp(43px,10vw,64px);line-height:1.19;letter-spacing:-.055em;margin-bottom:20px}.mobile-break{display:block}.hero-copy p{font-size:16px;line-height:1.7}.hero-actions{margin-top:28px;gap:10px;flex-wrap:wrap}.button{font-size:14px;min-height:49px;padding:0 19px;gap:12px}.button span{font-size:18px}.scene-note{bottom:22px;font-size:12px}.tool-shelf{align-items:flex-start;flex-wrap:wrap;padding-top:20px;padding-bottom:12px;gap:6px 20px;min-height:130px}.featured-tool{width:100%;font-size:18px;gap:12px;margin-bottom:5px}.featured-tool svg{width:26px;height:26px}.platform-links{gap:22px;font-size:13px}.platform-links span{display:none}.more-tools{font-size:13px;padding:12px 0}.more-tools span{margin-left:8px}footer{justify-content:flex-start;flex-wrap:wrap;font-size:11px;gap:6px 14px;min-height:70px;padding-top:12px}.demo-label{position:static;margin-left:auto}/* taste-skill-ignore: alpha masks preserve the original dragon pixels and remove reference UI; not a decorative gradient fill. */ .art-fallback{mask-image:linear-gradient(to bottom,transparent 28%,#000 52%);-webkit-mask-image:linear-gradient(to bottom,transparent 28%,#000 52%)}.art-fallback img{object-fit:cover;object-position:right center;width:180%;height:70%;top:24%;left:-80%}dialog{padding:24px}.dialog-top{margin-bottom:22px}dialog h2{font-size:26px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* The original reference logo is cropped in CSS; no redrawing or raster edits. */
.brand-mark{display:block;width:48px;height:62px;flex-shrink:0;font-size:0;background-image:url(white-dragon-original.png);background-size:1586px 992px;background-position:-65px -18px;transform:none}
[data-theme="dark"] .brand-mark{background-image:url(black-dragon-original.png);background-position:-59px -18px}
@media(max-width:700px){.brand-mark{width:34px;height:49px;background-size:1268.8px 793.6px;background-position:-53px -15px}[data-theme="dark"] .brand-mark{background-position:-48px -15px}}

/* Five primary reading sizes; icon glyphs inherit the surrounding text size. */
.brand-name{font-size:24px}.featured-tool{font-size:24px}
.header nav button,.login-button,.button,.platform-links,.more-tools{font-size:16px}
.brand-sub{font-size:16px}.button span,.platform-links span{font-size:inherit}
footer,.demo-label,.scene-note{font-size:13px}
@media(min-width:1101px){.hero-copy p{font-size:30px}}
@media(max-width:1100px){.brand-name,.featured-tool{font-size:20px}}
@media(max-width:700px){.brand-name,.featured-tool{font-size:20px}.button,.login-button{font-size:13px}.platform-links,.more-tools,footer,.demo-label,.scene-note{font-size:13px}.hero-copy p{font-size:16px}.button span{font-size:inherit}.hero h1{font-size:43px}.demo-label{margin-left:0}}

/* Apply saved appearance before the image decoding completes. */
[data-theme="dark"]{color-scheme:dark;--bg:#080808;--ink:#f7f7f5;--muted:#b4b4b3;--accent:#ff9a48;--on-accent:#111111;--surface:#202020;--outline:#4c4c4c}
