:root{--ink:#17211b;--sub:#68726c;--line:#e5e9e6;--green:#207451;--dark:#1e4936;--bg:#f6f7f4}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 system-ui,-apple-system,"Apple SD Gothic Neo","Segoe UI",sans-serif}
main{padding:8px 12px}
header{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-bottom:8px}
h1{margin:0;font-size:18px;letter-spacing:-.03em}
form{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:6px 10px;border:1px solid var(--line);border-radius:10px;background:#fff}
label{display:flex;align-items:center;gap:6px;color:var(--sub);font-size:12px;font-weight:700}
input{width:140px;height:30px;border:1px solid #dce1de;border-radius:7px;padding:0 10px;font:inherit;outline:0}
input:focus{border-color:var(--green);box-shadow:0 0 0 3px #20745118}
button{height:30px;border:0;border-radius:7px;padding:0 14px;background:var(--green);color:#fff;font-size:12px;font-weight:700;cursor:pointer}
.message{margin:0;padding:10px 0;color:var(--sub)}.message.error{color:#a23b35}
.result{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;margin-bottom:6px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:#fff}
.title{flex:1 1 320px;display:flex;gap:12px;justify-content:space-between;cursor:pointer;word-break:break-word}
.title b{font-size:14px}.copy{flex:none;color:var(--green);font-size:11px;font-weight:700}
.actions{display:flex;flex-wrap:wrap;gap:6px}
.actions button{height:auto;padding:7px 11px;background:var(--dark);font-size:11px}
.actions button:hover,.actions button.on{background:#247655}
#embed{margin-top:8px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.embed-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;border-bottom:1px solid var(--line);font-size:13px}
.embed-head a{color:var(--green);font-weight:700;font-size:12px}
iframe{display:block;width:100%;height:calc(100vh - 240px);min-height:480px;border:0;background:#fff}
.note{margin:0;padding:8px 12px;color:var(--sub);font-size:11px;border-top:1px solid var(--line)}
footer{margin-top:8px;color:#9aa39d;font-size:11px}
