:root{color:#263b3d;font-synthesis:none;--accent:#b63e2b;--muted:#647274;--line:#dedfda;background:#f7f5f0;font-family:Noto Sans JP,Yu Gothic,Hiragino Kaku Gothic ProN,Meiryo,sans-serif;line-height:1.7}*{box-sizing:border-box}body{margin:0}button,textarea{font:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button,a,textarea,summary,.output{outline-offset:4px}:focus-visible{outline:3px solid #b63e2b}[hidden]{display:none!important}.page{max-width:912px;margin:auto;padding:0 28px}.site-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:27px 0;display:flex}.brand{color:inherit;align-items:center;gap:11px;font-size:19px;font-weight:750;line-height:1.3;text-decoration:none;display:flex}.brand-mark{background:var(--accent);color:#fff;border-radius:13px 13px 13px 3px;place-items:center;width:42px;height:42px;font-size:25px;display:grid}.brand-roman{letter-spacing:.16em;color:var(--muted);padding-top:3px;font-size:9px;font-weight:600;display:block}.intro{padding:43px 0 30px}.eyebrow{color:var(--accent);letter-spacing:.07em;margin:0 0 9px;font-size:12px;font-weight:700}h1{letter-spacing:-.035em;margin:0 0 9px;font-size:clamp(24px,4vw,36px);font-weight:750;line-height:1.5}.title-arrow{color:var(--accent);padding:0 9px;font-weight:400}.intro-description{color:var(--muted);margin:0;font-size:13px}.mobile-break{display:none}.input-types{gap:8px;margin-top:18px;display:flex}.input-types span{color:#5c6c68;border:1px solid #d9dcd4;border-radius:4px;padding:2px 10px;font-size:10px}.converter{background:#fff;border:1px solid #deded7;border-radius:15px;overflow:hidden;box-shadow:0 6px 22px #283c2e05}.input-section{padding:27px 30px 24px}.section-heading,.pinyin-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px;display:flex}.section-heading label,h2{margin:0;font-size:14px;font-weight:700}.step{color:var(--accent);letter-spacing:.04em;margin-right:11px;font-size:11px;font-weight:600}.secondary{color:var(--muted);font-size:11px}textarea{resize:vertical;color:#263b3d;background:#fcfcfa;border:1px solid #d4dad4;border-radius:7px;width:100%;min-height:150px;padding:16px 18px;font-size:17px;line-height:1.8;display:block}textarea::placeholder{color:#899390;font-size:16px}textarea:focus{border-color:var(--accent)}.help{color:var(--muted);margin:9px 0 0;font-size:11px}.examples{flex-wrap:wrap;align-items:center;gap:7px;margin:15px 0 22px;font-size:11px;display:flex}.examples>span{color:var(--muted);margin-right:3px}.examples button{border:1px solid var(--line);color:#4a6260;background:#fff;border-radius:5px;min-height:34px;padding:3px 11px;font-size:11px}.examples button:hover{background:#f3f4ee;border-color:#a4b4aa}.actions{align-items:center;gap:15px;display:flex}.button-primary{color:#fff;background:var(--accent);border:1px solid var(--accent);border-radius:6px;justify-content:space-between;align-items:center;gap:36px;min-height:47px;padding:10px 20px;font-size:13px;font-weight:700;transition:background .15s;display:flex}.button-primary:hover:not(:disabled){background:#983320}.button-primary span{font-size:19px;font-weight:400;line-height:1}.button-quiet{min-height:44px;color:var(--muted);background:0 0;border:0;padding:7px 8px;font-size:12px}.button-quiet:hover{color:var(--accent);text-decoration:underline}.shortcut{margin-left:auto;font-size:10px}.result-section{background:#f0f4ef;border-top:1px solid #e0e7dc;padding:24px 30px 20px;scroll-margin-top:16px}.result-section .step{color:#54735d}.copy-button{color:#3f5e47;white-space:nowrap;background:0 0;border:1px solid #ccd7c9;border-radius:5px;justify-content:center;align-items:center;gap:5px;min-height:38px;padding:6px 10px;font-size:11px;display:flex}.copy-button:hover:not(:disabled){background:#e4ebdf}.copy-button span{font-size:17px}.output{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;-webkit-user-select:text;user-select:text}.katakana-output{min-height:63px;padding:3px 0 20px;font-size:25px;line-height:1.8}.placeholder{color:#768575;font-size:13px}.pinyin-heading{border-top:1px solid #d8e1d3;margin-bottom:6px;padding-top:17px}.pinyin-heading h2{color:#5c705c;font-size:11px;font-weight:500}.pinyin-heading .copy-button{min-height:36px;padding:3px 10px}.pinyin-output{color:#51674f;min-height:33px;padding-bottom:3px;font-family:Segoe UI,sans-serif;font-size:15px}.pinyin-output .placeholder{font-family:Yu Gothic,Meiryo,sans-serif;font-size:12px}.result-status{color:#3d6043;margin:8px 0 0;font-size:12px}.result-status:empty{display:none}.warning-box,.error-box{color:#73551c;overflow-wrap:anywhere;background:#fff8eb;border:1px solid #d8be81;border-radius:6px;margin-top:16px;padding:13px 16px;font-size:12px}.warning-box h3{margin:0 0 5px;font-size:12px}.warning-box p,.error-box p{margin:0}.warning-box ul{max-height:180px;margin:6px 0 0;padding-left:20px;overflow:auto}.error-box{color:#8e3528;background:#fff2ed;border-color:#e0b7ac}.notes{padding:25px 1px 28px}.notes h2{margin-bottom:7px;font-size:12px;font-weight:700}.notes h2>span{border:1px solid #7d8c81;border-radius:50%;place-items:center;width:15px;height:15px;margin-right:5px;font:11px Georgia,serif;display:inline-grid}.notes p,.notes li{color:var(--muted);font-size:11px;line-height:1.9}.notes p{margin:0}details{margin-top:9px}summary{cursor:pointer;color:#556e5b;padding:6px 0;font-size:11px}.notes ul{margin:3px 0 0;padding-left:20px}footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:12px;padding:19px 0 26px;font-size:9px;display:flex}footer span span{color:#a0aaa0;margin:0 6px}.noscript{color:#9b3423;text-align:center;padding:20px}@media (width<=600px){.page{padding:0 18px}.site-header{padding:19px 0}.brand{gap:8px;font-size:17px}.brand-mark{width:36px;height:36px;font-size:22px}.intro{padding:29px 0 24px}.eyebrow{font-size:11px}.title-arrow{padding:0 5px}.intro-description{font-size:12px}.mobile-break{display:inline}.input-section,.result-section{padding:20px 18px}textarea{padding:12px 13px}.actions{flex-wrap:wrap;gap:10px}.button-primary{flex:1;gap:12px;padding:11px 15px}.shortcut{display:none}.examples{gap:6px;margin-bottom:18px}.examples button{min-height:40px;padding:3px 8px}.copy-button{min-height:44px;padding:5px 8px;font-size:10px}.pinyin-heading .copy-button{min-height:44px}.section-heading{gap:7px}.section-heading h2,.section-heading label{font-size:13px}.step{margin-right:8px}.katakana-output{font-size:23px}.notes{padding-top:22px}footer{flex-direction:column;gap:3px}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}
