@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;800;900&display=swap');
:root{--ink:#20231e;--muted:#71766a;--paper:#f4f5ee;--green:#c5ee6d;--line:#dfe2d6;--white:#fff;--mono:ui-monospace,SFMono-Regular,Consolas,monospace}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Noto Sans TC',sans-serif;font-size:14px}button,input,textarea{font:inherit}button,a,input,summary,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #688c23;outline-offset:4px}input:focus,textarea:focus{outline:2px solid #77963d;outline-offset:2px}button{transition:background .15s,transform .15s}button:active{transform:translateY(1px)}[hidden]{display:none!important}.topbar{height:95px;max-width:1360px;margin:auto;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:16px;letter-spacing:.08em}.brand-icon{width:38px;height:38px;border:1.5px solid var(--ink);border-radius:50%;display:grid;place-items:center;font-size:27px}.brand small{font-family:var(--mono);font-size:9px;font-weight:400;letter-spacing:.15em;display:block;margin-top:3px}nav{display:flex;align-items:center;gap:30px;font-size:12px}.text-btn{padding:0;background:none;border:0;font-size:12px}.text-btn:hover,nav a:hover{text-decoration:underline;text-underline-offset:4px}.version{border:1px solid #c9cdbf;border-radius:20px;padding:5px 12px;font-size:10px}main{max-width:1216px;margin:auto;padding:0 28px}.hero{display:flex;justify-content:space-between;align-items:center;padding:52px 5px 45px}.eyebrow{font-size:10px;letter-spacing:.15em;font-weight:600;display:flex;align-items:center;gap:8px}.dot{display:inline-block;width:6px;height:6px;background:#6d8b37;border-radius:50%}h1{font-size:clamp(40px,4.5vw,64px);letter-spacing:-.06em;line-height:1.3;margin:18px 0 8px;font-weight:900}.title-outline{color:var(--paper);-webkit-text-stroke:1.25px var(--ink);margin-left:5px}h1 sup{display:inline-block;vertical-align:top;font:12px var(--mono);letter-spacing:0;background:var(--green);border-radius:5px;padding:4px 6px;margin:7px 0 0 12px}.hero-line{font-size:25px;letter-spacing:.035em;margin:0;font-weight:600}.marked{box-shadow:inset 0 -.45em 0 var(--green)}.asterisk{display:inline-block;font-size:35px;vertical-align:middle;margin-left:15px;font-weight:400}.intro{color:var(--muted);font-size:13px;line-height:1.95;margin-top:19px}.hero-note{width:215px;transform:rotate(4deg);border-left:1px solid #cfd4c5;padding-left:28px}.note-id{font:10px var(--mono);color:var(--muted)}.orbit{position:relative;height:112px;margin-top:20px}.orbit span{position:absolute;border:1px solid #737d65;border-radius:50%;padding:15px 20px;font-size:10px;background:var(--paper)}.orbit .o1{left:0;top:0;transform:rotate(-15deg)}.orbit .o2{left:57px;top:30px;transform:rotate(12deg);background:var(--green)}.orbit .o3{left:17px;top:60px;transform:rotate(-7deg)}.orbit b{position:absolute;left:142px;top:5px;font-size:40px;font-weight:400}.hero-note p{font-size:11px;line-height:1.7;color:var(--muted)}.workbench{border:1px solid #cfd4c5;border-radius:16px;background:white;overflow:hidden;box-shadow:0 12px 40px #26310f05}.bench-header{display:flex;justify-content:space-between;align-items:center;background:#fafbf7;border-bottom:1px solid var(--line);padding:0 25px}.tabs{display:flex;gap:24px}.tab{background:none;border:0;border-bottom:3px solid transparent;font-size:12px;color:var(--muted);padding:22px 0 18px;font-weight:500}.tab.active{border-bottom-color:var(--ink);color:var(--ink);font-weight:800}.local-tag{font-size:10px;display:flex;gap:7px;align-items:center;color:var(--muted)}.bench-grid{display:grid;grid-template-columns:41% 59%}.controls{padding:28px;border-right:1px solid var(--line)}.section-kicker{font-family:var(--mono);font-size:10px;letter-spacing:.07em;color:var(--muted);margin-bottom:22px}.field-label{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:700;margin:0 0 10px}.field-label span{font-size:10px;color:var(--muted);font-weight:400}input:not([type=range]),textarea{width:100%;border:1px solid #d6dbce;border-radius:7px;background:#fff;padding:12px;color:var(--ink);font-size:14px}input:not([type=range]):hover,textarea:hover{border-color:#929e81}textarea{resize:vertical;line-height:1.8;min-height:130px}.chips{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0 24px}.chip{background:#f6f7f2;border:1px solid transparent;border-radius:5px;padding:6px 8px;font-size:10px;color:#626858}.chip:hover,.chip.selected{background:#edf3e0;border-color:#cbd8b1;color:var(--ink)}.styles{display:grid;gap:7px;margin-bottom:24px}.style{position:relative;display:block;text-align:left;border:1px solid #e2e5da;background:white;border-radius:7px;padding:10px 13px}.style.selected{border-color:#718751;background:#f4f8eb;box-shadow:inset 3px 0 0 #718751}.style:hover{background:#f4f8eb}.style b{display:block;font-size:12px;font-weight:600}.style small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.style>span{position:absolute;right:16px;top:16px;font-size:20px;color:#6b7e53}.range-label{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:600}.range-label output{font:10px var(--mono);color:#62724b}input[type=range]{width:100%;margin:16px 0 5px;accent-color:#76983f;height:5px;cursor:pointer}.range-ends{display:flex;justify-content:space-between;font-size:9px;color:var(--muted)}.advanced{border-top:1px dashed var(--line);margin-top:23px;padding-top:16px}.advanced summary{font-size:11px;cursor:pointer;color:#646c5a;list-style:none;display:flex;justify-content:space-between}.advanced label{display:block;font-size:11px;margin-top:12px}.advanced input{margin-top:5px;font-size:12px}.generate-btn{background:var(--ink);color:var(--green);border:0;border-radius:7px;width:100%;padding:15px 18px;font-size:14px;display:flex;justify-content:space-between;align-items:center;font-weight:600;margin-top:24px}.generate-btn:hover{background:#38422a}.generate-btn>span:last-child{font-size:22px;line-height:1}.under-button{font-size:9px;text-align:center;color:var(--muted);margin-bottom:0}.result-panel{display:flex;flex-direction:column;padding:28px 32px;background:radial-gradient(ellipse at 100% 0,#f5f8ec 0,transparent 55%),#fff;min-width:0}.result-top{display:flex;justify-content:space-between;align-items:center;font:10px var(--mono);letter-spacing:.05em;color:var(--muted)}.parody-pill{font-family:'Noto Sans TC',sans-serif;font-size:9px;border:1px solid #d4d9ca;padding:4px 7px;border-radius:4px;color:#667550;white-space:nowrap}.result-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:30px;font-size:11px;color:var(--muted)}#counter{font:9px var(--mono);white-space:nowrap}.output{white-space:pre-wrap;overflow-wrap:anywhere;font-size:21px;font-weight:600;line-height:1.95;letter-spacing:.035em;margin:22px 0 28px;flex:1}.output:before{content:'“';display:block;font:64px Georgia,serif;line-height:.6;color:#92a679;margin-bottom:15px}.output.analysis-output{font-size:16px;line-height:2;font-weight:500}.output mark{background:linear-gradient(transparent 65%,#d9edb1 65%);color:inherit;padding:0}.result-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:19px}.meter{display:flex;gap:22px;align-items:center}.meter>span{font-size:10px;white-space:nowrap;color:var(--muted)}.meter b{margin-left:6px;color:var(--ink);font:11px var(--mono)}.meter>div{height:4px;background:#eef0e9;flex:1;border-radius:10px}.meter i{height:100%;width:70%;display:block;background:#a3bb79;border-radius:10px;transition:width .3s}.meter-help{font-size:9px;color:#8b9083;margin:7px 0 17px}.output-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px}.output-actions button{border:1px solid #d9decf;background:#fff;padding:10px 5px;border-radius:6px;font-size:11px}.output-actions button:hover{background:#edf4df}.output-actions button:first-child{background:var(--green);border-color:var(--green)}.disclaimer{font-size:9px;color:#8b9083;line-height:1.7;margin:15px 0 0}.breakdown{font-size:11px;background:#f4f7ed;border-left:3px solid #9cb76e;padding:14px;line-height:1.8;margin-bottom:20px}.breakdown strong{display:block}.history-section{margin-top:31px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.section-heading h2{font-size:14px;font-weight:600;margin:0}.section-heading h2 span{font:9px var(--mono);color:var(--muted);margin-left:12px}.section-heading .text-btn{font-size:10px;color:var(--muted)}.history{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.history-item{background:transparent;border:1px solid #dce0d1;border-radius:8px;text-align:left;padding:15px;min-width:0}.history-item:hover{background:#edf2e3;border-color:#acbc95}.history-item small{display:block;font-size:9px;color:#7d8770;margin-bottom:9px}.history-item p{font-size:11px;line-height:1.8;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.history-empty{color:var(--muted);font-size:12px;padding:20px;border:1px dashed var(--line);border-radius:8px;grid-column:1/-1}.history-help{font-size:9px;color:var(--muted)}.formula-section{display:grid;grid-template-columns:1fr 1fr;gap:70px;border-top:1px solid var(--line);padding:45px 5px;margin-top:44px}.formula-section .eyebrow{font:10px var(--mono);color:#7c896e}.formula-section h2{font-size:29px;line-height:1.6;margin:13px 0 15px;letter-spacing:.04em}.formula-section p{font-size:11px;color:var(--muted);line-height:1.9}.formula-steps article{display:flex;align-items:center;gap:19px;padding:16px 0;border-bottom:1px solid var(--line)}.formula-steps article>span{font:11px var(--mono);color:#8e9b7d}.formula-steps h3{font-size:13px;margin:0 0 4px}.formula-steps p{font-size:10px;margin:0}.formula-steps b{margin-left:auto;font-size:24px;font-weight:400;color:#6d8055}footer{max-width:1360px;margin:auto;border-top:1px solid var(--line);padding:25px 5%;display:flex;align-items:center;justify-content:space-between;gap:18px;color:var(--muted);font-size:9px}.footer-brand{font-size:11px;color:#424b37;font-weight:600}.footer-brand span{font:8px var(--mono);display:block;margin-top:6px}footer .text-btn{font-size:10px}dialog{width:min(620px,calc(100% - 32px));border:1px solid #d4dac8;border-radius:14px;padding:26px;color:var(--ink);background:var(--paper);max-height:85dvh}dialog::backdrop{background:#171d0c88;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center}.dialog-heading h2{font-size:20px;margin:0}.dialog-heading button{border:0;background:none;font-size:30px}dialog p{font-size:12px;line-height:1.9;color:#5e6753}dialog h3{font-size:13px;margin-top:25px}.sources{padding-left:18px}.sources li{font-size:12px;line-height:1.8;margin-bottom:12px}.sources a{text-decoration:underline;text-underline-offset:3px}.sources small{display:block;color:var(--muted);font-size:10px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);padding:12px 22px;background:#22291a;color:#edf4dd;border-radius:8px;z-index:10;opacity:0;pointer-events:none;transition:.2s;font-size:12px;max-width:90vw;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.field-help{font-size:10px;color:var(--muted);line-height:1.8;margin:8px 0 24px}
@media(min-width:1500px){.hero{padding-top:65px;padding-bottom:55px}.controls{padding:32px}.result-panel{padding:32px 38px}.output{font-size:23px}}
@media(max-width:800px){.topbar{height:80px;padding:0 23px}.topbar nav{gap:16px}.topbar nav>a,.version{display:none}.brand{font-size:14px}.hero{padding:35px 0}.hero-note{display:none}.hero-line{font-size:22px}.bench-grid{grid-template-columns:43% 57%}.controls{padding:20px}.result-panel{padding:20px}.output{font-size:18px}.bench-header{padding:0 20px}.tabs{gap:18px}.local-tag{display:none}.formula-section{gap:30px}.history{grid-template-columns:repeat(2,1fr)}footer{flex-wrap:wrap}}
@media(max-width:580px){main{padding:0 17px}.topbar{padding:0 17px;height:74px}.brand-icon{width:32px;height:32px;font-size:24px}.brand{gap:8px;font-size:13px}.brand small{font-size:8px}.topbar nav button{font-size:10px}h1{font-size:38px;margin-top:17px}h1 sup{font-size:10px;margin-left:7px}.hero-line{font-size:19px}.intro{font-size:12px}.asterisk{font-size:28px;margin-left:8px}.hero{padding:30px 0 25px}.eyebrow{font-size:9px}.bench-header{padding:0 16px}.tabs{width:100%;justify-content:space-between;gap:8px}.tab{font-size:11px;padding:18px 0 15px}.bench-grid{grid-template-columns:1fr}.controls{padding:22px;border-right:0;border-bottom:1px solid var(--line)}.styles{grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:22px}.style{padding:12px 7px;text-align:center}.style small{font-size:9px;line-height:1.6}.style b{font-size:11px}.style>span{display:none}.style.selected{box-shadow:inset 0 -3px 0 #718751}.chips{margin-bottom:20px}.result-panel{padding:24px 22px}.output{font-size:20px;line-height:2;margin-top:25px;min-height:220px}.result-title{margin-top:24px}.history{grid-template-columns:1fr}.history-item:nth-child(n+4){display:none}.section-heading h2 span{display:none}.formula-section{grid-template-columns:1fr;gap:15px;margin-top:30px;padding-top:32px}.formula-section h2{font-size:26px}.formula-section h2 br{display:none}footer{padding:23px 22px;gap:12px}footer p{margin:0;width:100%}.section-kicker{margin-bottom:19px}.advanced{margin-top:20px}}
@media(prefers-reduced-motion:reduce){*,html{transition:none!important;scroll-behavior:auto!important}}
.style-hint{margin-top:-12px;margin-bottom:22px}.route-label{margin-top:14px}#cityOptions{margin-bottom:22px}.output.long-output{font-size:18px;line-height:1.9}.output.chain-output{font-size:23px;line-height:2}.styles{grid-template-columns:1fr 1fr;gap:8px}.style{padding:12px 10px;min-height:76px}.style>span{display:none}.style small{line-height:1.65}.style.selected{box-shadow:inset 0 -3px 0 #718751}.advanced summary{font-size:11px}@media(max-width:580px){.styles{grid-template-columns:1fr 1fr}.style{padding:12px 8px;text-align:left}.style b{font-size:12px}.style small{font-size:10px}.output.long-output{font-size:17px}.output.chain-output{font-size:21px}}
.more-styles{margin-top:-12px;margin-bottom:12px;border:1px solid #d9e1cc;border-radius:7px;background:#fafcf5}.more-styles summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;padding:12px;font-size:11px;font-weight:600;gap:8px}.more-styles summary>span:last-child{font-size:10px;font-weight:400;color:#6e7b5c}.more-styles summary b{font:10px var(--mono);background:var(--green);padding:3px 5px;border-radius:4px;margin-left:4px}.extra-styles{padding:0 9px 10px;margin:0;max-height:300px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#a8b394 #f2f6ea}.extra-styles .style{min-height:63px;padding:10px 8px}.extra-styles .style small{font-size:9px}.style-tools{display:flex;justify-content:space-between;align-items:center;margin:0 0 14px;gap:8px}.style-tools>span{font-size:9px;color:var(--muted)}.style-tools button{border:1px solid #ccd7ba;border-radius:5px;background:#edf5df;padding:7px 11px;font-size:11px}.style-tools button:hover{background:var(--green)}.style-hint{margin:0 0 7px;line-height:1.8}.style-formula{font-size:10px;color:#62734f;border-left:2px solid #c5d6a8;padding-left:9px;line-height:1.8;margin:0 0 22px;overflow-wrap:anywhere}.more-styles[open] summary{border-bottom:1px solid #e4e9db;margin-bottom:9px}.output-actions button{min-height:38px}@media(max-width:580px){.extra-styles{max-height:280px}.extra-styles .style{min-height:67px}.extra-styles .style small{font-size:10px}.style-tools button{padding:9px 12px}.more-styles summary{min-height:44px}}
