/* support.css — 고객센터 */
.support-page{max-width:1080px;margin:0 auto;padding:8px 24px 100px}
.support-warn{padding:14px 18px;margin:0 0 22px;border:1px solid #7a2f2f;border-radius:10px;background:#2a1515;color:#ffb4b4;font-size:13px;line-height:1.7}
.support-warn b{color:#ffd0d0}
.support-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:18px;align-items:start}
@media(max-width:860px){.support-grid{grid-template-columns:1fr}}
.support-side{display:grid;gap:18px}
.support-card{padding:24px;border:1px solid #222731;border-radius:12px;background:#101319;position:relative}
.support-card[hidden]{display:none}
.support-card h2{margin:0 0 16px;font-size:18px;color:#fff}
.support-card label{display:block;margin-bottom:14px;font-size:12px;color:#9299a8}
.support-card input[type="text"],.support-card textarea{display:block;width:100%;box-sizing:border-box;margin-top:7px;padding:12px 14px;background:#090b0f;border:1px solid #2b3038;border-radius:8px;color:#fff;font:inherit;font-size:14px;outline:0;transition:border-color .2s}
.support-card textarea{resize:vertical;min-height:140px;line-height:1.7}
.support-card input[type="text"]:focus,.support-card textarea:focus{border-color:#91f3c8}
.support-card input[type="file"]{display:block;margin-top:8px;font-size:12px;color:#c5cad4;max-width:100%}
.support-card small{display:block;margin-top:6px;color:#6c7382;font-size:11px}
.support-msg{min-height:20px;margin:2px 0 12px;font-size:13px;color:#91f3c8}
.support-msg.err{color:#ff8e8e}
.support-code{display:grid;grid-template-columns:auto 1fr;gap:8px 14px;align-items:center;padding:14px 16px;border:1px dashed #3a4350;border-radius:10px;background:#0b0d12}
.support-code span{font-size:11px;color:#818896}
.support-code b{font-family:ui-monospace,monospace;font-size:17px;color:#91f3c8;letter-spacing:.04em;word-break:break-all}
.support-card p{margin:0 0 14px;font-size:13px;line-height:1.75;color:#aab0bc}

.support-mine{display:grid;gap:8px}
.support-mine .empty{font-size:13px;color:#6c7382}
.support-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border:1px solid #222731;border-radius:8px;background:#0b0d12;cursor:pointer;text-align:left;color:#e9ecf1;font:inherit;width:100%}
.support-item:hover{border-color:#3a4350}
.support-item .t{font-size:13px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.support-item .m{font-size:11px;color:#6c7382;white-space:nowrap}
.st-badge{display:inline-block;padding:3px 9px;border-radius:20px;font-size:11px;font-weight:800;background:#2b281d;color:#e7c975}
.st-badge.answered{background:#172a22;color:#91f3c8}
.st-badge.closed{background:#1f242c;color:#9299a8}
.support-lookup{margin-top:14px;border-top:1px solid #1b2028;padding-top:12px}
.support-lookup summary{cursor:pointer;font-size:12px;color:#9299a8}
.support-lookup-row{display:grid;grid-template-columns:90px 1fr auto;gap:8px;margin-top:10px}
.support-lookup-row input{margin:0!important;padding:10px 12px!important}
.support-lookup-row .btn{min-height:40px;padding:0 16px;font-size:13px}

#sp-view{margin-top:18px}
.sv-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}
.sv-head h3{margin:0;font-size:17px;color:#fff;word-break:break-word}
.sv-meta{font-size:11px;color:#6c7382;margin-bottom:14px}
.sv-body{padding:14px 16px;border-radius:8px;background:#0b0d12;color:#cfd4e3;font-size:14px;line-height:1.8;white-space:pre-wrap;word-break:break-word}
.sv-reply{margin-top:14px;padding:14px 16px;border-radius:8px;border:1px solid #1f3a2d;background:#0f1d17;color:#d9f5e8;font-size:14px;line-height:1.8;white-space:pre-wrap;word-break:break-word}
.sv-reply h4{margin:0 0 8px;font-size:12px;color:#91f3c8;letter-spacing:.06em}
.sv-files{margin-top:12px;display:flex;flex-wrap:wrap;gap:8px}
.sv-files button{padding:7px 12px;border:1px solid #2b3038;border-radius:6px;background:#12151b;color:#c5cad4;font-size:12px;cursor:pointer}

/* 라이트 테마 */
html[data-theme="light"] .support-card{background:#fff!important;border-color:#e3e7ee!important}
html[data-theme="light"] .support-card h2,html[data-theme="light"] .sv-head h3{color:#0f1319}
html[data-theme="light"] .support-card p,html[data-theme="light"] .support-card label{color:#5b6372}
html[data-theme="light"] .support-card input[type="text"],html[data-theme="light"] .support-card textarea{background:#fff!important;border-color:#d7dce5!important;color:#0f1319!important}
html[data-theme="light"] .support-warn{background:#fff1f1;border-color:#f0b4b4;color:#8a2a2a}
html[data-theme="light"] .support-warn b{color:#6d1b1b}
html[data-theme="light"] .support-code,html[data-theme="light"] .support-item,html[data-theme="light"] .sv-body{background:#f4f6fa;border-color:#e3e7ee;color:#0f1319}
html[data-theme="light"] .support-item{color:#0f1319}
html[data-theme="light"] .sv-reply{background:#eafaf3;border-color:#b7e8d2;color:#0b3d2b}
html[data-theme="light"] .sv-files button{background:#fff;color:#0f1319;border-color:#d7dce5}
