:root{--navy:#0c1728;--orange:#ff6a00;--line:#e5e9ef;--muted:#6b7482;--bg:#f4f6f9;--white:#fff}*{box-sizing:border-box}body{margin:0;font-family:Pretendard,'Noto Sans KR','Apple SD Gothic Neo',Arial,sans-serif;color:#172033;background:var(--bg);word-break:keep-all}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}.admin-login{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#0b1729,#172945)}.login-card{width:min(460px,100%);background:#fff;border-radius:24px;padding:36px;box-shadow:0 24px 70px rgba(0,0,0,.22)}.login-card img{width:220px}.login-card>span,.editor-head span{display:block;margin-top:24px;color:var(--orange);font-size:11px;font-weight:900;letter-spacing:1.6px}.login-card h1{font-size:30px;margin:8px 0 10px}.login-card p{color:var(--muted);font-size:14px;line-height:1.7}.login-card label,.editor-form label{display:block;font-size:13px;font-weight:800;margin:18px 0 8px}.login-card input,.editor-form input,.editor-form textarea,.password-box input{width:100%;border:1px solid #d9dfe7;border-radius:12px;padding:14px 15px;background:#fff;outline:none}.login-card input:focus,.editor-form input:focus,.editor-form textarea:focus,.password-box input:focus{border-color:var(--orange);box-shadow:0 0 0 3px rgba(255,106,0,.1)}.login-card button,.save-button,.password-box button{border:0;border-radius:12px;background:var(--orange);color:#fff;font-weight:900;padding:15px 20px;cursor:pointer}.login-card button{width:100%;margin-top:18px}.login-card>a{display:block;text-align:center;margin-top:16px;color:var(--muted);font-size:13px}.admin-header{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1180px)/2));position:sticky;top:0;z-index:20}.admin-header img{width:190px}.admin-header nav{display:flex;align-items:center;gap:8px}.admin-header nav a{padding:10px 13px;border-radius:10px;font-size:13px;font-weight:800;color:#525d6d}.admin-header nav a.active{background:#fff0e5;color:var(--orange)}.admin-main{width:min(1180px,calc(100% - 40px));margin:34px auto 80px}.alert{padding:14px 16px;border-radius:12px;margin-bottom:18px;font-size:14px;font-weight:700}.alert.success{background:#eaf8ef;color:#247646}.alert.error{background:#fff0f0;color:#b63737}.editor,.item-list,.password-box{background:#fff;border:1px solid var(--line);border-radius:20px;padding:30px;margin-bottom:24px}.editor-head,.list-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:24px}.editor-head span{margin:0}.editor-head h1,.list-head h2{margin:6px 0 0;font-size:28px}.editor-head>a{font-size:13px;font-weight:900;color:var(--orange)}.form-grid{display:grid;grid-template-columns:1fr 220px;gap:16px}.editor-form textarea{resize:vertical;line-height:1.7}.current-image{display:block;width:min(360px,100%);max-height:240px;object-fit:cover;border-radius:14px;margin-top:12px;border:1px solid var(--line)}.save-button{margin-top:10px;min-width:170px}.list-head p{margin:8px 0 0;color:var(--muted);font-size:13px}.admin-item{display:grid;grid-template-columns:160px 1fr auto;gap:20px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}.admin-item:last-child{border-bottom:0}.admin-item img{width:160px;height:110px;object-fit:cover;border-radius:12px;background:#eee}.admin-item span{font-size:11px;font-weight:900;color:var(--orange)}.admin-item h3{font-size:18px;margin:7px 0 6px}.admin-item p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.item-actions{display:flex;gap:8px;align-items:center}.item-actions a,.item-actions button{border:1px solid var(--line);background:#fff;border-radius:9px;padding:9px 12px;font-size:12px;font-weight:800;cursor:pointer}.item-actions button{color:#c53e3e}.item-actions form{margin:0}.password-box h2{font-size:20px;margin:0 0 14px}.password-box form{display:flex;gap:10px;max-width:520px}.password-box button{white-space:nowrap}.editor-form input[type=file]{padding:11px}.editor-form input[type=file]::file-selector-button{border:0;background:#eef1f5;border-radius:8px;padding:8px 10px;margin-right:10px;font-weight:800}@media(max-width:800px){.admin-header{height:auto;padding:16px 18px;align-items:flex-start;gap:16px;flex-direction:column}.admin-header nav{width:100%;overflow:auto}.admin-main{width:min(100% - 24px,1180px);margin-top:18px}.editor,.item-list,.password-box{padding:20px 16px}.form-grid{grid-template-columns:1fr}.admin-item{grid-template-columns:96px 1fr}.admin-item img{width:96px;height:86px}.item-actions{grid-column:1/-1;justify-content:flex-end}.editor-head,.list-head{flex-direction:column}.password-box form{flex-direction:column}}
