:root{color-scheme:light;--ink:#171717;--muted:#666;--line:#dededc;--soft:#f6f6f5;font-family:Inter,"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;color:var(--ink);background:#fff;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0;-webkit-font-smoothing:antialiased}
button,input{font:inherit;color:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.55}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #222;outline-offset:4px}
[hidden]{display:none!important}
.defs{position:absolute;width:0;height:0;overflow:hidden}
.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}
.top{height:70px;border-bottom:1px solid var(--line)}
.top-inner{max-width:1192px;height:100%;margin:auto;padding:0 40px;display:flex;align-items:center;justify-content:space-between}
.brand,.gateway,footer a,footer span,.actions,.small,.primary,.toggle,.examples,.tabs,.tabs button,.address-wrap,.dialog-head,.dialog-actions,.result h2{display:flex;align-items:center}
.brand{gap:10px;font-size:17px;font-weight:650;letter-spacing:-.6px}
.gateway{font-size:13px;gap:6px;color:#494949}
.gateway .icon,footer a .icon{height:14px;width:14px}
a:hover,.examples button:hover{text-decoration:underline;text-underline-offset:4px}
.brand:hover{text-decoration:none}
.shell{width:min(896px,calc(100% - 72px));margin:0 auto}
.intro{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:68px 0 36px}
h1,h2,p{margin:0}
h1{font-size:clamp(38px,4.6vw,62px);font-weight:630;letter-spacing:-.057em;line-height:1.18}
h1 span{font-weight:640;letter-spacing:-.068em}
.intro p{margin-top:15px;font-size:16px;line-height:1.7;color:var(--muted)}
.art{width:165px;flex:none;margin-right:12px}
.art svg{width:100%;height:auto;display:block}
.panel{border:1px solid var(--line);border-radius:18px;background:var(--soft);padding:28px 30px 23px}
.field-label,.modal label{display:block;font-size:14px;font-weight:650;margin-bottom:11px}
.input-row{display:flex;gap:10px}
.address-wrap{min-width:0;flex:1;background:white;gap:12px;padding:0 16px;border:1px solid #cececb;border-radius:10px}
.address-wrap:focus-within{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}
.address-wrap .icon{color:#676767}
input[type=text]{min-width:0}
.address-wrap input{width:100%;height:51px;border:0;background:transparent;font-size:16px;outline:none;letter-spacing:-.015em}
.address-wrap input:focus-visible{outline:none}
input::placeholder{color:#858585;opacity:1}
.primary,.small,.icon-btn{border:1px solid transparent;justify-content:center;font-weight:550}
.primary{background:var(--ink);color:#fff;gap:16px;border-radius:10px;padding:10px 20px;font-size:14px}
.primary:hover,.solid:hover{background:#383838}
.convert{min-width:140px}
.settings{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:19px;font-size:13px;color:#424242}
.toggle{cursor:pointer;gap:9px;position:relative;min-height:28px}
.toggle input{position:absolute;width:32px;height:22px;margin:0;opacity:0;cursor:pointer}
.track{display:block;position:relative;width:31px;height:18px;border-radius:99px;background:#bcbcb9;transition:background .16s}
.track::after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:#fff;transition:transform .16s}
.toggle input:checked+.track{background:var(--ink)}
.toggle input:checked+.track::after{transform:translateX(13px)}
.toggle input:focus-visible+.track{outline:2px solid #333;outline-offset:3px}
.examples{gap:12px;color:#737373;font-size:12px}
.examples button{font-size:12px;background:transparent;border:0;border-bottom:1px solid #aaa;padding:2px 0;color:#474747;line-height:1.4}
.examples button:hover{border-color:#111;text-decoration:none}
.error{font-size:13px;line-height:1.6;margin-top:10px;font-weight:600}
.result{margin-top:12px;border:1px solid var(--line);padding:19px 24px;border-radius:13px}
.result h2{gap:7px;font-size:14px}
.output{display:block;overflow-wrap:anywhere;color:#454545;line-height:1.5;font:14px/1.6 ui-monospace,"SFMono-Regular",Consolas,monospace;margin:8px 0 14px}
.actions{gap:8px;flex-wrap:wrap}
.small{gap:6px;font-size:13px;line-height:1.35;border:1px solid var(--line);border-radius:8px;background:#fff;min-height:34px;padding:6px 11px}
.small:hover,.icon-btn:hover{background:#f1f1f0;text-decoration:none}
.small .icon{height:15px;width:15px}
.solid{background:var(--ink);color:white;border-color:var(--ink)}
.solid:hover{background:#373737}
.collection{margin-top:43px}
.shortcut-help{margin:12px 2px 0;font-size:13px;line-height:1.65;color:var(--muted)}
.shortcut-help summary{width:fit-content;cursor:pointer}
.shortcut-help p{margin:6px 0}
.shortcut-help a{text-decoration:underline;text-underline-offset:3px}
.shortcuts{margin:28px 0}
.shortcuts h2{font-size:16px;font-weight:650;margin:0}
.shortcut-heading,.shortcut-links a{display:flex;align-items:center;justify-content:space-between;gap:10px}
.shortcut-heading>a{font-size:12px;color:var(--muted)}
.shortcut-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,165px),1fr));gap:8px;margin-top:12px}
.shortcut-links a{padding:11px 12px;border:1px solid var(--line);border-radius:8px;font-size:13px}
.shortcut-links a:hover{background:var(--soft);border-color:#aaa;text-decoration:none}
.shortcut-links code{font-size:12px;color:var(--muted)}
.copy-buffer{position:fixed;top:0;left:0;width:1px;height:1px;opacity:0;font-size:16px;pointer-events:none}
.bar{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}
.tabs{gap:25px;min-width:0}
.tabs button{position:relative;border:0;padding:16px 1px;gap:8px;background:transparent;color:#666;font-size:16px;white-space:nowrap}
.tabs button[aria-selected=true]{color:var(--ink);font-weight:650}
.tabs button[aria-selected=true]::after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--ink)}
.count{font:11px/16px Arial,sans-serif;padding:0 5px;background:#eee;border-radius:5px;color:#454545}
#items{min-height:145px}
.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:145px;padding:30px 12px;color:#696969;font-size:13px}
.empty .icon{width:25px;height:25px;stroke-width:1.3;color:#858585}
.entries{list-style:none;padding:0;margin:0}
.entry{display:flex;align-items:center;gap:12px;padding:14px 2px;border-bottom:1px solid #eee}
.entry:last-child{border:0}
.item-open{border:0;background:none;color:inherit;text-align:left;padding:0;display:flex;align-items:center;gap:13px;min-width:0;flex:1}
.item-open:hover .item-title{text-decoration:underline;text-underline-offset:3px}
.item-icon{width:36px;height:36px;display:grid;place-items:center;background:var(--soft);border:1px solid #ececeb;border-radius:10px;flex:none}
.item-icon .icon{width:16px;height:16px}
.item-text{min-width:0;display:grid;gap:3px}
.item-title,.item-url{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.item-title{font-size:14px;font-weight:600}
.item-url,.date{font-size:12px;color:#666}
.date{white-space:nowrap}
.icon-btn{display:inline-grid;place-items:center;background:transparent;border:0;border-radius:7px;width:34px;height:34px;color:#555;flex:none}
.icon-btn .icon{width:16px;height:16px}
footer{border-top:1px solid var(--line);padding:20px 0 32px;display:flex;justify-content:space-between;align-items:flex-start;gap:16px;color:#666;font-size:12px;line-height:1.6}
footer span{gap:7px}
footer span .icon{width:14px;height:14px}
footer a{gap:4px}
dialog{border:1px solid var(--line);border-radius:17px;padding:0;width:min(420px,calc(100% - 32px));color:var(--ink);box-shadow:0 16px 80px #0002}
dialog::backdrop{background:#0005}
.modal{padding:25px}
.dialog-head,.dialog-actions{justify-content:space-between;gap:8px}
.modal h2{font-size:22px;letter-spacing:-.04em}
.modal label{margin:18px 0 7px}
.modal input{width:100%;border:1px solid #c9c9c9;background:#fff;padding:11px 12px;border-radius:8px;font-size:16px}
.modal p{margin-top:12px;font-size:14px;color:#505050}
.dialog-actions{margin-top:23px;justify-content:flex-end}
.dialog-actions button{min-height:38px;padding-inline:16px}
.notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#222;color:white;padding:10px 16px;font-size:13px;line-height:1.5;border-radius:10px;max-width:calc(100% - 24px);width:max-content;z-index:3}
@media(max-width:700px){
  .top{height:60px}.top-inner{padding:0 22px}.shell{width:calc(100% - 40px)}
  .intro{padding:43px 0 27px}.intro p{font-size:14px;margin-top:10px}.art{width:100px;margin:0}
  .panel{padding:20px}.collection{margin-top:28px}
}
@media(max-width:540px){
  .brand{font-size:15px}.gateway{font-size:12px}
  .art{display:none}.intro{padding:38px 0 25px}h1{font-size:clamp(32px,8.7vw,44px)}
  .input-row{flex-direction:column;gap:9px}.convert{min-height:43px}.address-wrap input{height:46px}
  .panel{padding:18px 16px 15px;border-radius:14px}.settings{margin-top:12px;gap:7px 18px}
  .tabs{gap:13px}.tabs button{font-size:14px;gap:5px}.tabs .icon{height:15px;width:15px}
  .bar{gap:6px}.bar .small{font-size:12px;padding:5px 8px}.examples{gap:8px}.result{padding:16px}
  .entry{gap:5px}.item-open{gap:8px}.date{font-size:11px}.item-icon{width:28px;height:30px}
  footer{font-size:11px;gap:8px}footer span{align-items:flex-start}footer .icon{margin-top:2px}
}
@media(max-width:370px){.shell{width:calc(100% - 28px)}.tabs{gap:9px}.count{display:none}.tabs button{gap:3px}}
@media(prefers-reduced-motion:reduce){*,*::after{transition:none!important}}
