:root{font-family:Arial,"Microsoft YaHei",sans-serif;color:#343b44;background:#edf4fc;font-synthesis:none;--blue:#2b4793}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(165deg,#f7faff 15%,#c8dff4 100%)}button,input{font:inherit}button{cursor:pointer;border:0;border-radius:5px;background:var(--blue);color:white;padding:12px 21px;min-height:44px;white-space:nowrap}button:hover{filter:brightness(.95)}button:focus-visible,input:focus-visible{outline:3px solid #6a9cf0;outline-offset:3px}button:disabled{opacity:.55;cursor:default}header{display:flex;align-items:center;justify-content:space-between;max-width:760px;margin:auto;padding:22px 20px}header strong{font-size:20px;color:#253b66}header span{border:1px solid #9aaed4;border-radius:4px;padding:4px 8px;color:#3b527d;font-size:12px}.notice{max-width:720px;margin:0 auto 16px;padding:13px 16px;background:#fff4dc;border:1px solid #e8cb94;color:#75501d;font-size:13px;line-height:1.7}main{max-width:720px;margin:auto}.paper{background:white;min-height:66vh;padding:42px 30px;margin-bottom:14px}h1{font-weight:500;text-align:center;color:var(--blue);font-size:27px;margin:10px 0 25px}.eyebrow{font-size:11px;letter-spacing:2px;text-align:center;color:#7d8ba6;margin:0 0 14px}.result-copy{font-size:20px;line-height:1.95;max-width:580px;margin:auto}.result-copy p{margin:0 0 24px}.comparison{background:#f0f5fc;padding:18px;border-left:3px solid #8299c4;font-size:17px}.source{color:#7c8490;font-size:12px;line-height:1.7}.outline{color:#333;background:white;border:1px solid #999;width:100%;font-size:20px;margin-top:20px}.card{background:white;border-radius:12px;padding:24px;margin-bottom:14px}h2{font-size:22px;color:var(--blue);margin:0 0 12px}h2 span{display:inline-block;margin-right:6px}h3{font-size:19px;font-weight:400;margin:26px 0 10px}.muted{font-size:16px;color:#737982;line-height:1.75;margin:12px 0 22px}label{display:block;font-size:18px;margin:0 0 12px}.input-row{display:flex;gap:10px;align-items:stretch}input{border:1px solid #bbc2cb;border-radius:5px;padding:11px 12px;width:100%;min-width:0;color:#343b44;background:white;font-size:17px}input::placeholder{color:#a5abb4}.empty{border-top:1px solid #ddd;margin-top:22px;text-align:center;padding:16px 0 10px}.empty>span,.search-symbol{display:block;font-size:90px;line-height:1;color:#e6effa}.empty p{font-size:21px;margin:12px 0}.empty small{color:#8d96a3;font-size:12px}.warning{color:#9b5c20;font-size:13px;line-height:1.6}.file-control{position:relative;border:1px dashed #a5aebc;margin:0;flex:1;padding:12px 8px;text-align:center;font-size:16px;overflow:hidden}.file-control input{position:absolute;inset:0;opacity:0;cursor:pointer}.file-control:focus-within{outline:3px solid #6a9cf0}#file-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.second-method{margin-top:36px}.fields{display:grid;grid-template-columns:86px minmax(0,1fr);gap:18px 10px;align-items:center}.fields label{font-size:16px;margin:0}.unit{display:flex;gap:8px;align-items:center}.unit span{color:#8b929c}.wide{width:100%;margin-top:24px}.start{text-align:center;padding-top:70px}.start h1{font-size:24px}.search-symbol{margin-bottom:25px}footer{text-align:center;max-width:720px;margin:auto;padding:12px 15px 25px;color:#73819a;font-size:11px;line-height:1.7}.text-button{background:none;color:#566d98;padding:8px;font-size:13px}dialog{padding:0;border:0;border-radius:9px;width:calc(100% - 28px);max-width:460px;box-shadow:0 20px 80px #13244840;color:#343b44}dialog::backdrop{background:#26313e80}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:9px 14px}.dialog-head h2{margin:0;font-size:21px;color:#444;font-weight:400}.dialog-head small{font-size:11px;border:1px solid #a4afc0;border-radius:3px;padding:2px 4px;color:#697992}.icon-button{font-size:30px;background:none;color:#929aa5;padding:0 5px;min-width:40px}.mountains{position:relative;height:170px;overflow:hidden;background:linear-gradient(154deg,transparent 48%,#dbe8eb 49%,#f6fbff 68%,transparent 69%),linear-gradient(33deg,#cfdee9 35%,#fbfdff 36%,#e3eef5 55%,transparent 56%),linear-gradient(#a4d2e8,#ecf6fb)}.character{position:absolute;background:none!important;font-size:40px;font-weight:bold;padding:2px 8px;min-width:52px;text-shadow:0 2px 1px white}.character.selected{outline:2px solid currentColor;border-radius:50%}.character small{position:absolute;top:-3px;right:0;background:white;border-radius:50%;font-size:12px;width:18px;height:18px;line-height:18px}#captcha-form{padding:17px 17px 0}#hint{text-align:center;font-size:16px;color:#666;margin-bottom:15px}#captcha-message{text-align:center;font-size:13px;color:#8c5c25;min-height:20px;margin:13px 12px}.dialog-note{text-align:center;font-size:11px;color:#8994a4;background:#f5f7fa;margin:0;padding:10px}[hidden]{display:none!important}@media(max-width:760px){main{margin:0 14px}.notice{margin:0 14px 14px}.paper{padding:32px 23px}.result-copy{font-size:18px;line-height:1.95}.card{padding:20px 18px}h1{font-size:24px}header{padding:18px}.input-row button{padding:11px 15px}}@media(prefers-reduced-motion:no-preference){.paper,.card{animation:appear .25s ease-out}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}}
/* Screenshot-aligned spacing; the black disclosure remains visible on every screen. */
body{padding-bottom:62px;background:linear-gradient(176deg,#f4f9ff 9%,#dbeaf8 53%,#a7cbee 100%)}
main{max-width:720px;margin:12px auto 0;padding:0 12px}
.paper{min-height:calc(100dvh - 74px);margin:0;padding:36px 14px;background:#fff}
h1{font-size:clamp(18px,4.8vw,26px);margin:0 0 8px;font-weight:400}
.result-copy{font-size:clamp(14px,3.9vw,20px);line-height:1.75;margin:0 24px}
.result-copy p{margin:0 0 20px;text-indent:1.5em}
.outline{margin-top:6px;min-height:36px;padding:5px 12px;border-radius:3px;font-size:clamp(16px,4.5vw,22px)}
.comparison{border:0;background:none;padding:0;font-size:inherit}
.card{padding:18px 18px 24px;border-radius:8px;margin:0 0 14px}
h2{font-size:clamp(17px,4.5vw,23px);margin-bottom:8px}
.muted{font-size:clamp(13px,3.6vw,17px);line-height:1.65;margin:0 0 20px;color:#777}
label{font-size:clamp(15px,4vw,19px);margin-bottom:10px}
input{font-size:16px;border-color:#c7c7c7;padding:8px 10px;border-radius:3px}
button{border-radius:3px;padding:8px 14px;min-height:38px}
.input-row{gap:9px}.input-row>button{font-size:18px;letter-spacing:3px;padding:5px 13px}
.empty{margin-top:18px;padding:15px 0 0}.empty>span{font-size:76px}.empty p{font-size:16px;margin:9px 0 4px}
.start{padding-top:20px}.start .search-symbol{font-size:70px;margin:0 0 18px}.start>button{background:none;color:#777;font-size:15px}
footer{position:fixed;bottom:0;left:0;right:0;z-index:5;max-width:none;padding:8px 12px;background:#fff;text-align:center;color:#000}
footer .disclosure{font-size:14px;line-height:20px;margin:0;color:#000}
footer .text-button{font-size:12px;line-height:18px;min-height:20px;padding:0 8px;color:#000}
dialog{margin:clamp(76px,15vh,170px) auto auto;width:calc(100% - 20px);max-width:460px;border-radius:4px}
dialog::backdrop{background:#0007}.dialog-head{padding:4px 10px;min-height:36px;position:relative;justify-content:center}
.dialog-head h2{font-size:16px}.dialog-head>div{position:absolute;right:7px;top:1px}.icon-button{min-height:32px;min-width:28px;font-size:25px;padding:0 3px}
.mountains{height:clamp(115px,33vw,170px)}.character{font-size:clamp(32px,9vw,45px)}
#captcha-form{padding:0}#hint{font-size:15px;margin:0;background:#f7f7f7;border:1px solid #e6e6e6;text-align:center;padding:10px 5px;line-height:20px}
.keyboard-entry{position:absolute;left:-10000px}.keyboard-entry:focus-within{position:static;padding:10px}
#captcha-message{margin:0;min-height:0;font-size:13px;line-height:22px;color:#333}#captcha-message:not(:empty){padding:5px}
.dialog-note{background:white;color:#000;font-size:14px;line-height:20px;padding:10px;margin:0}
@media(max-width:760px){main{margin:12px auto 0}.paper{padding:34px 12px}.card{padding:16px 16px 22px}.result-copy{margin:0 20px}.input-row button{padding:5px 12px}}
body:has(dialog[open]) footer{visibility:hidden}
.deep-card{padding:24px 20px 30px;border-radius:10px}
.deep-card h2{display:flex;align-items:center;gap:8px;font-size:clamp(19px,4.6vw,26px);margin:0 0 27px}
.deep-icon{width:22px;height:22px;flex-shrink:0}
.deep-card h3{font-size:clamp(16px,4.1vw,23px);line-height:1.65;font-weight:400;margin:0 0 10px;color:#333}
.deep-card .method-content{padding-left:10px}
.deep-card .muted{font-size:clamp(14px,3.6vw,20px);line-height:1.65;margin:0 0 12px}
.upload-warning{color:#ff1616;font-size:clamp(13px,3.5vw,19px);line-height:1.65;margin:6px 0 0}
.deep-card .upload-row{gap:10px}
.deep-card .file-control{border:1px dashed #bdbdbd;border-radius:4px;display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;padding:8px 5px;font-size:clamp(19px,4.7vw,27px);line-height:1.4}
.file-control>svg{width:23px;height:23px;flex-shrink:0}
.deep-card #file-name{min-width:0}
.deep-card button{background:#2a4494;border-radius:5px;min-width:70px;min-height:42px;font-size:clamp(19px,4.8vw,27px);line-height:1.4;padding:6px 13px;letter-spacing:0;box-shadow:0 2px 1px #00000012}
.deep-card .second-method{margin-top:30px}
.deep-card .fields{grid-template-columns:max-content minmax(0,1fr);gap:15px 9px;align-items:center}
.deep-card .fields label{font-size:clamp(16px,4.1vw,23px);white-space:nowrap;line-height:1.3}
.required-mark{color:#ff5151;font-size:.9em;display:inline-block;margin-right:5px}
.deep-card .unit{gap:9px;min-width:0}
.deep-card .unit>span{font-size:clamp(14px,3.6vw,20px);width:1em;flex-shrink:0;color:#999}
.deep-card .code-unit{padding-right:calc(1em + 9px);font-size:clamp(14px,3.6vw,20px)}
.deep-card input:not([type=file]){height:34px;min-width:0;border:1px solid #bababa;font-size:clamp(16px,4.1vw,23px);border-radius:4px;padding:4px 9px}
.deep-actions{display:flex;justify-content:flex-end;margin-top:14px}
.deep-card .deep-empty{border-top:1px solid #ddd;margin-top:10px;padding-top:16px}
.deep-empty svg{display:block;width:62px;height:62px;margin:0 auto 12px;fill:none;stroke:#edf5ff;stroke-width:9;stroke-linecap:round}
.deep-empty svg path:last-child{stroke-width:7}
.deep-card .deep-empty p{font-size:clamp(17px,4.2vw,23px);margin:0;line-height:1.6}
@media(min-width:600px){.deep-card{padding:35px}.deep-card h2{margin-bottom:38px}.deep-card input:not([type=file]){height:47px}.deep-card .fields{gap:22px 12px}.deep-card .second-method{margin-top:40px}.deep-card button{min-width:95px;min-height:55px}.deep-card .deep-empty{padding-top:26px}.deep-empty svg{width:80px;height:80px}}
