.monster-exchange {
    --mx-bg: #252a33; --mx-panel: #303640; --mx-panel-2: #3a414d; --mx-line: rgba(255,255,255,.1);
    --mx-text: #f4f7fb; --mx-muted: #abb5c4; --mx-green: #8ed23d; --mx-red: #ff6975; --mx-amber: #f2b84b;
    color: var(--mx-text); padding: 0 0 44px; font-family: Pretendard, "Noto Sans KR", sans-serif;
}
.monster-exchange *, .monster-exchange *::before, .monster-exchange *::after { box-sizing: border-box; }
.monster-exchange button, .monster-exchange input { font: inherit; }
.monster-exchange button { cursor: pointer; }
.mx-hero { padding: 31px 32px; border: 1px solid rgba(142,210,61,.25); border-radius: 18px; background: radial-gradient(circle at 82% 10%, rgba(142,210,61,.2), transparent 35%), linear-gradient(135deg,#252b35,#333b47); box-shadow: 0 17px 38px rgba(0,0,0,.2); }
.mx-kicker { display: block; color: var(--mx-green); font-size: 11px; font-weight: 850; letter-spacing: .13em; }
.mx-hero h1 { margin: 6px 0 8px; color: #fff; font-size: clamp(27px,3vw,40px); font-weight: 900; letter-spacing: -.05em; }
.mx-hero p { margin: 0; color: var(--mx-muted); font-size: 14px; }
.mx-notice, .mx-card { margin-top: 16px; border: 1px solid var(--mx-line); border-radius: 16px; background: var(--mx-bg); }
.mx-notice { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 24px; padding: 22px 24px; }
.mx-notice-title > span { color: var(--mx-green); font-size: 11px; font-weight: 800; }
.mx-notice h2, .mx-section-head h2 { margin: 4px 0 0; color: #fff; font-size: 19px; font-weight: 880; letter-spacing: -.035em; }
.mx-notice ul { margin: 0; padding-left: 18px; color: var(--mx-muted); font-size: 12px; line-height: 2; }
.mx-alert { margin-top: 14px; padding: 12px 15px; border-radius: 10px; font-size: 13px; }
.mx-alert.is-error { color: #ffd9dc; border: 1px solid rgba(255,105,117,.35); background: rgba(255,105,117,.13); }
.mx-alert.is-info { color: #e3f0ff; border: 1px solid rgba(92,157,245,.35); background: rgba(92,157,245,.12); }
.mx-card { padding: 21px; }
.mx-section-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.mx-wallet { min-width: 180px; padding: 11px 14px; border: 1px solid var(--mx-line); border-radius: 12px; background: rgba(0,0,0,.12); text-align: right; }
.mx-wallet span { display: block; color: var(--mx-muted); font-size: 10px; }
.mx-wallet strong { display: block; margin-top: 3px; color: var(--mx-green); font-size: 19px; }
.mx-fieldset { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.mx-fieldset legend, .mx-field > span { display: block; margin-bottom: 9px; color: #e8edf4; font-size: 12px; font-weight: 800; }
.mx-fieldset legend { border-bottom: 0; }
.mx-companies { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.mx-company { position: relative; min-width: 0; cursor: pointer; }
.mx-company input { position: absolute; opacity: 0; pointer-events: none; }
.mx-company > span { display: flex; min-height: 62px; flex-direction: column; justify-content: center; padding: 12px 14px; border: 1px solid var(--mx-line); border-radius: 11px; background: var(--mx-panel); transition: border-color .15s, background .15s, box-shadow .15s; }
.mx-company strong { overflow: hidden; color: #fff; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.mx-company small { overflow: hidden; margin-top: 3px; color: var(--mx-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.mx-company input:checked + span { border-color: var(--mx-green); background: rgba(142,210,61,.12); box-shadow: 0 0 0 2px rgba(142,210,61,.12); }
.mx-company input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.mx-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mx-field input { width: 100%; height: 50px; border: 1px solid var(--mx-line); border-radius: 10px; outline: 0; color: #fff; background: var(--mx-panel); padding: 0 14px; }
.mx-field input:focus { border-color: rgba(142,210,61,.75); box-shadow: 0 0 0 3px rgba(142,210,61,.1); }
.mx-point-input { display: flex; align-items: center; border: 1px solid var(--mx-line); border-radius: 10px; background: var(--mx-panel); }
.mx-point-input:focus-within { border-color: rgba(142,210,61,.75); box-shadow: 0 0 0 3px rgba(142,210,61,.1); }
.mx-point-input input { min-width: 0; border: 0; background: transparent; text-align: right; box-shadow: none !important; }
.mx-point-input b { padding-right: 14px; color: var(--mx-green); font-size: 12px; }
.mx-quick-points { display: grid; grid-template-columns: repeat(5,1fr); gap: 7px; margin-top: 11px; }
.mx-quick-points button { min-height: 38px; border: 1px solid var(--mx-line); border-radius: 9px; color: var(--mx-muted); background: var(--mx-panel); font-size: 11px; font-weight: 750; }
.mx-quick-points button:hover, .mx-quick-points button.is-active { color: #17200e; border-color: var(--mx-green); background: var(--mx-green); }
.mx-submit { display: block; width: min(360px,100%); min-height: 51px; margin: 20px auto 0; border: 0; border-radius: 11px; color: #17200e; background: var(--mx-green); font-weight: 900; box-shadow: 0 9px 22px rgba(142,210,61,.17); }
.mx-submit:hover { background: #9cde50; }.mx-submit:disabled { cursor: not-allowed; color: #818a96; background: #444b55; box-shadow: none; }
.mx-count { color: var(--mx-muted); font-size: 12px; }
.mx-table-wrap { overflow-x: auto; }
.mx-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.mx-table th { padding: 12px 10px; border-top: 1px solid var(--mx-line); border-bottom: 1px solid var(--mx-line); color: var(--mx-muted); font-size: 11px; font-weight: 750; text-align: center; }
.mx-table td { padding: 14px 10px; border-bottom: 1px solid var(--mx-line); color: #e7ebf1; font-size: 12px; text-align: center; word-break: break-word; }
.mx-table th:nth-child(1) { width: 9%; }.mx-table th:nth-child(2) { width: 18%; }.mx-table th:nth-child(3) { width: 22%; }.mx-table th:nth-child(4) { width: 17%; }.mx-table th:nth-child(5) { width: 20%; }.mx-table th:nth-child(6) { width: 14%; }
.mx-table td strong { color: #fff; }.mx-empty { padding: 32px 15px !important; color: var(--mx-muted) !important; text-align: center; }
.mx-status { display: inline-flex; min-width: 70px; justify-content: center; padding: 6px 9px; border-radius: 999px; font-size: 10px; font-weight: 850; }
.mx-status.is-pending { color: #ffdfa2; background: rgba(242,184,75,.15); }.mx-status.is-completed { color: #ddffc0; background: rgba(142,210,61,.16); }.mx-status.is-held { color: #ffd4d8; background: rgba(255,105,117,.15); }
.mx-pagination { display: flex; justify-content: center; gap: 5px; margin-top: 18px; }
.mx-pagination a, .mx-pagination span { display: grid; min-width: 34px; height: 34px; place-items: center; border: 1px solid var(--mx-line); border-radius: 8px; color: var(--mx-muted); background: var(--mx-panel); font-size: 11px; text-decoration: none; }
.mx-pagination a.is-current, .mx-pagination a:hover { color: #17200e; border-color: var(--mx-green); background: var(--mx-green); }
.mx-modal[hidden] { display: none; }.mx-modal { position: fixed; z-index: 12000; inset: 0; display: grid; place-items: center; padding: 18px; }
.mx-modal-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(0,0,0,.68); }
.mx-modal-dialog { position: relative; width: min(390px,100%); padding: 29px 24px 23px; border: 1px solid rgba(142,210,61,.3); border-radius: 18px; background: #292f38; box-shadow: 0 25px 75px rgba(0,0,0,.5); text-align: center; }
.mx-modal-icon { display: grid; width: 54px; height: 54px; margin: 0 auto 14px; place-items: center; border-radius: 50%; color: #17200e; background: var(--mx-green); font-size: 25px; font-weight: 900; }
.mx-modal h2 { margin: 0 0 8px; color: #fff; font-size: 21px; }.mx-modal p { margin: 0; color: var(--mx-muted); font-size: 12px; line-height: 1.7; }
.mx-modal-dialog button { width: 100%; min-height: 44px; margin-top: 20px; border: 0; border-radius: 9px; color: #17200e; background: var(--mx-green); font-weight: 900; }
body.mx-modal-open { overflow: hidden; }

@media (max-width: 767px) {
    .monster-exchange { padding: 0 10px 38px; }.mx-hero { padding: 23px 18px; border-radius: 14px; }.mx-hero p { font-size: 12px; line-height: 1.65; }
    .mx-notice { display: block; padding: 18px; border-radius: 13px; }.mx-notice ul { margin-top: 12px; font-size: 11px; line-height: 1.85; }
    .mx-card { padding: 16px 12px; border-radius: 13px; }.mx-section-head { align-items: flex-start; }.mx-section-head h2, .mx-notice h2 { font-size: 17px; }
    .mx-wallet { min-width: 116px; padding: 9px 10px; }.mx-wallet strong { font-size: 14px; }
    .mx-companies { grid-template-columns: repeat(2,minmax(0,1fr)); }.mx-company > span { min-height: 57px; padding: 10px; }
    .mx-form-grid { grid-template-columns: 1fr; }.mx-quick-points { grid-template-columns: repeat(3,1fr); }.mx-quick-points button { font-size: 10px; }
    .mx-table, .mx-table tbody, .mx-table tr, .mx-table td { display: block; width: 100%; }.mx-table thead { display: none; }
    .mx-table tr { margin-bottom: 9px; overflow: hidden; border: 1px solid var(--mx-line); border-radius: 11px; background: var(--mx-panel); }
    .mx-table td { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 9px 11px; border-bottom: 1px solid var(--mx-line); text-align: right; }
    .mx-table td:last-child { border-bottom: 0; }.mx-table td::before { content: attr(data-label); flex: 0 0 auto; color: var(--mx-muted); font-size: 10px; }
    .mx-table tr#mx-history-empty { border: 0; background: transparent; }.mx-table tr#mx-history-empty td { display: block; }.mx-table tr#mx-history-empty td::before { display: none; }
}
@media (max-width: 390px) { .mx-section-head { display: block; }.mx-wallet { margin-top: 12px; text-align: left; }.mx-quick-points { grid-template-columns: repeat(2,1fr); } }
