/* 최종수정: 2026-10-15 23:55 — LINEPD DDNS 관리 화면 */
*{box-sizing:border-box}
body{margin:0;font-family:-apple-system,"Malgun Gothic","Apple SD Gothic Neo",sans-serif;font-size:15px;color:#222;background:#f4f5f7}
a{color:#1a5fb4}
body.center{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:16px}
.top{display:flex;align-items:center;justify-content:space-between;background:#1f2937;color:#fff;padding:0 16px;height:52px}
.top .brand{color:#fff;font-weight:700;text-decoration:none;font-size:17px}
.top nav a{color:#d1d5db;text-decoration:none;margin-left:16px;font-size:14px}
.top nav a:hover{color:#fff}
.wrap{max-width:1000px;margin:0 auto;padding:20px 16px}
h1{font-size:22px;margin:0 0 16px}
h2{font-size:17px;margin:24px 0 10px}
.card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:20px;margin-bottom:16px}
.card.narrow{width:100%;max-width:380px}
.muted{color:#6b7280;font-size:13px}
.flash{padding:12px 14px;border-radius:6px;margin-bottom:16px;font-size:14px}
.flash.ok{background:#e7f6ec;color:#166534;border:1px solid #b7e2c4}
.flash.err{background:#fdecec;color:#991b1b;border:1px solid #f5c2c2}
label{display:block;font-size:13px;color:#374151;margin-bottom:4px;font-weight:600}
.field{margin-bottom:14px}
input[type=text],input[type=password],input[type=number]{width:100%;padding:9px 10px;border:1px solid #cfd4dc;border-radius:6px;font-size:15px;font-family:inherit}
input:focus{outline:2px solid #93c5fd;border-color:#60a5fa}
.help{font-size:12px;color:#6b7280;margin-top:4px}
.btn{display:inline-block;padding:9px 16px;border-radius:6px;border:1px solid #1a5fb4;background:#1a5fb4;color:#fff;font-size:14px;cursor:pointer;text-decoration:none;font-family:inherit}
.btn:hover{background:#174f96}
.btn.ghost{background:#fff;color:#1a5fb4}
.btn.ghost:hover{background:#eef4fc}
.btn.danger{background:#fff;color:#b91c1c;border-color:#b91c1c}
.btn.danger:hover{background:#fdecec}
.btn.sm{padding:5px 10px;font-size:13px}
.row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}
th,td{padding:10px 12px;text-align:left;border-bottom:1px solid #eef0f3;font-size:14px;vertical-align:middle}
th{background:#f9fafb;color:#4b5563;font-size:13px;white-space:nowrap}
tr:last-child td{border-bottom:0}
.tbl-wrap{overflow-x:auto}
.st{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600}
.st.on{background:#dcfce7;color:#166534}
.st.off{background:#fee2e2;color:#991b1b}
.st.none{background:#e5e7eb;color:#4b5563}
.mono{font-family:Consolas,"D2Coding",monospace;font-size:14px}
.nvr{background:#fffbeb;border:1px solid #fcd34d;border-radius:8px;padding:16px;margin-bottom:16px}
.nvr h2{margin-top:0}
.nvr table{background:transparent;border:0}
.nvr td{border-bottom:1px solid #fde68a;padding:8px 6px}
.nvr td:first-child{color:#78350f;font-weight:600;width:130px;white-space:nowrap}
.nvr .mono{font-size:16px}
.copy{cursor:pointer;color:#1a5fb4;background:#eef4fc;border:1px solid #bfdbfe;border-radius:5px;padding:3px 8px;font-size:12px;margin-left:6px;font-family:inherit}
.copy.done{background:#dcfce7;border-color:#86efac;color:#166534}
.r-good{color:#166534}.r-nochg{color:#6b7280}.r-911,.r-badauth,.r-nohost{color:#b91c1c}
.masked{font-family:monospace;color:#6b7280}
.guide h2{margin-top:0}
.guide ol{padding-left:22px;margin:8px 0}
.guide li{margin-bottom:8px;line-height:1.55}
.guide p{line-height:1.55;margin:8px 0}
.kv{margin:8px 0}
.kv td:first-child{color:#4b5563;font-weight:600;width:150px;white-space:nowrap;vertical-align:top}
@media (max-width:640px){.top{height:auto;padding:10px 12px;flex-direction:column;align-items:flex-start;gap:8px}.top nav a{margin:0 14px 0 0}.wrap{padding:14px 12px}th,td{padding:8px}}
