@charset "utf-8";

.sub-title {
    padding: 10px 12px; /* border-top:4px solid #444; */
}

    .sub-title h4 {
        padding: 0;
        margin: 0;
        line-height: 50px;
        font-size: 18px
    }

    .sub-title i {
        background: #f5f5f5;
        padding-top: 12px;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        text-align: center;
        color: #8f8f8f;
        font-size: 25px;
        display: inline-block
    }

    .sub-title img {
        border-radius: 50%;
        width: 50px !important;
        height: 50px !important;
        display: inline-block
    }

.follow-skin .bg-heading {
    background: #fafafa
}

.follow-skin .col-follow .myinfo a {
    margin-right: 15px;
    color: #888;
    font-size: 11px
}

.follow-skin .sp-follow {
    margin-bottom: 0;
    border-top: 3px solid #444
}

.follow-skin .img-photo i {
    background: #f5f5f5;
    padding: 16px;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    text-align: center;
    color: #8f8f8f;
    font-size: 40px;
    display: inline-block
}

.follow-skin .img-photo img {
    border-radius: 50%;
    width: 80px !important;
    height: 80px !important;
    display: inline-block
}

@media all and (max-width:460px) {
    .responsive .follow-skin .col-follow {
        display: block !important;
        width: 100% !important
    }
}

.formmail-form {
    padding: 20px
}

.formmail-type label {
    margin-right: 10px
}

.memo-send-info {
    padding: 8px 20px;
    background: #fafafa;
    border-bottom: 1px solid #eee
}

.memo-content {
    padding: 20px;
    line-height: 22px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px
}

.memo-send-form {
    padding: 20px
}

.mypage-skin .img-photo i {
    background: #f5f5f5;
    padding: 16px;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    text-align: center;
    color: #8f8f8f;
    font-size: 40px;
    display: inline-block
}

.mypage-skin .img-photo img {
    border-radius: 50%;
    width: 80px !important;
    height: 80px !important;
    display: inline-block
}

.mypage-skin .img-resize img {
    max-width: 100%;
    height: auto
}

.mypage-skin .view-author .auth-photo {
    width: 160px;
    padding-right: 15px
}

@media all and (max-width:460px) {
    .responsive .mypage-skin .view-author .auth-photo {
        float: none;
        width: 100%;
        padding-right: 0
    }
}

.myphoto {
    margin-bottom: 15px
}

    .myphoto img {
        border-radius: 50%;
        display: inline-block
    }

    .myphoto i {
        background: #f5f5f5;
        padding: 18px;
        border-radius: 50%;
        text-align: center;
        color: #8f8f8f;
        font-size: 40px;
        display: inline-block
    }

.mypost-skin i.img-fa {
    width: 40px;
    height: 40px;
    padding: 10px 0 0;
    font-size: 20px;
    text-align: center;
    color: #aaa
}

.mypost-skin .list-details {
    padding-top: 4px
}

.mypost-skin .list-none {
    padding: 50px 0
}

.mypost-media {
    padding-bottom: 10px
}

    .mypost-media .photo i {
        border-radius: 50%;
        background: #f5f5f5;
        padding: 15px;
        width: 64px;
        height: 64px;
        text-align: center;
        color: #8f8f8f;
        font-size: 30px;
        display: inline-block
    }

    .mypost-media .photo img {
        border-radius: 50%;
        width: 64px !important;
        height: 64px !important;
        display: inline-block
    }

    .mypost-media .media {
        border-bottom: 1px solid #eee;
        margin: 7px 0;
        padding: 0 12px 7px
    }

    .mypost-media :first-child.media {
        border-top: 0;
        margin-top: 0;
        padding-top: 0
    }

    .mypost-media .media-heading {
        padding: 0;
        margin: 0;
        line-height: 20px
    }

    .mypost-media .media .media-body {
        padding-left: 0
    }

    .mypost-media .media .media-content {
    }

        .mypost-media .media .media-content p {
            margin: 0;
            padding: 0
        }

    .mypost-media .media .media-resize {
        margin-top: 10px
    }

        .mypost-media .media .media-resize img {
            max-width: 100%;
            height: auto
        }

    .mypost-media .media.media-reply {
        border: 0;
        border-top: 1px solid #eee;
        margin: 10px 0 0;
        padding: 10px 0 0
    }

.point-skin th, .point-skin td {
    white-space: nowrap
}

    .point-skin td.po-content {
        white-space: normal
    }

.profile-skin .img-photo i {
    border-radius: 50%;
    background: #f5f5f5;
    padding: 16px;
    width: 80px;
    height: 80px;
    text-align: center;
    color: #8f8f8f;
    font-size: 40px;
    display: inline-block
}

.profile-skin .img-photo img {
    border-radius: 50%;
    width: 80px !important;
    height: 80px !important;
    display: inline-block
}

.profile-skin .img-resize img {
    max-width: 100%;
    height: auto
}

.register-term {
    position: relative;
    height: 200px;
    margin: 0;
    overflow: auto
}

#agree11, #agree21 {
    margin: 0
}

.register-form .text-gap {
    margin-bottom: 4px
}

.register-form .addr-line {
    margin-bottom: 7px
}

@media all and (max-width:767px) {
    .responsive .register-form .cert-btn {
        margin-top: 10px
    }
}

.myresponse-skin .res-info {
    margin: 0;
    padding: 7px 12px
}

.myresponse-skin .media {
    border-top: 1px solid #eee;
    margin: 6px 0;
    padding: 8px 12px 0
}

.myresponse-skin .myresponse-list .media:first-child {
    border-top: 0;
    margin-top: 0;
    padding-top: 8px
}

.myresponse-skin .media-heading {
    padding: 0;
    margin: 0
}

.myresponse-skin .photo i {
    border-radius: 50%;
    background: #eee;
    padding: 8px;
    width: 40px;
    height: 40px;
    text-align: center;
    color: #fff;
    font-size: 25px;
    display: inline-block
}

.myresponse-skin .photo img {
    border-radius: 50%;
    width: 40px !important;
    height: 40px !important;
    display: inline-block
}

.myresponse-skin .media-info i {
    margin-left: 10px
}

    .myresponse-skin .media-info i:first-child {
        margin-left: 0
    }

.scrap-skin i.scrap-icon {
    background: #333;
    color: #fff
}

.scrap-skin .scrap-head {
    margin: 0;
    padding: 10px 20px;
    line-height: 22px;
    background: #333;
    color: #fff;
    font-size: 16px;
    text-align: center
}

.scrap-skin .scrap-form {
    padding: 10px 20px 20px
}

.shopping-skin i.img-fa {
    width: 40px;
    height: 40px;
    padding: 10px 0 0;
    font-size: 20px;
    text-align: center;
    color: #aaa
}

.shopping-skin .list-none {
    padding: 50px 0
}

.wishlist-skin i.img-fa {
    width: 40px;
    height: 40px;
    padding: 10px 0 0;
    font-size: 20px;
    text-align: center;
    color: #aaa
}

.mypage-tbl th {
    background: #333 !important;
    color: #fff !important;
    text-align: center !important;
    white-space: nowrap
}

.mypage-tbl td {
    text-align: center;
    white-space: nowrap
}

/* ==========================================================================
   Mypage Modern UI/UX Design System (Phase 3)
   ========================================================================== */
.mypage-skin {
    font-family: var(--op-font-sans);
}

/* 카드 컨테이너 */
.mypage-skin .mp-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.mypage-skin .mp-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
}
.mypage-skin .mp-card-header i {
    margin-right: 6px;
    color: var(--op-primary, #3dbf62);
}
.mypage-skin .mp-card-body {
    padding: 18px;
}

/* 상단 프로필 헤더 */
.mypage-skin .mp-profile-head {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.mypage-skin .mp-avatar-wrap {
    flex-shrink: 0;
    text-align: center;
}
.mypage-skin .mp-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 3px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.mypage-skin .mp-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mypage-skin .mp-avatar i {
    font-size: 38px;
    color: #94a3b8;
}

.mypage-skin .mp-profile-info {
    flex: 1;
    min-width: 0;
}
.mypage-skin .mp-profile-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.mypage-skin .mp-profile-nick {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}
.mypage-skin .mp-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 600;
}
.mypage-skin .mp-badge-user {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}
.mypage-skin .mp-badge-partner {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}
.mypage-skin .mp-badge-admin {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* 통계 카드 그리드 (5열) */
.mypage-skin .mp-stat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}
.mypage-skin .mp-stat-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 6px;
    text-align: center;
    transition: all 0.15s ease;
}
.mypage-skin .mp-stat-item:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
    transform: translateY(-1px);
}
.mypage-skin .mp-stat-icon {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 3px;
}
.mypage-skin .mp-stat-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 2px;
}
.mypage-skin .mp-stat-val {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}
.mypage-skin .mp-stat-val small {
    font-size: 10.5px;
    font-weight: 400;
    margin-left: 2px;
    color: #64748b;
}
.mypage-skin .mp-stat-point .mp-stat-val {
    color: var(--op-primary, #3dbf62);
    font-weight: 800;
}

/* 다음 레벨 프로그레스 카드 */
.mypage-skin .mp-level-progress-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
    margin-top: 10px;
}
.mypage-skin .mp-lp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 12px;
}
.mypage-skin .mp-lp-title {
    color: #334155;
    font-weight: 600;
}
.mypage-skin .mp-lp-pct {
    color: var(--op-primary, #3dbf62);
    font-weight: 800;
    font-size: 13px;
}
.mypage-skin .mp-progress-bar-wrap {
    height: 8px;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 8px;
}
.mypage-skin .mp-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, var(--op-primary, #3dbf62));
    border-radius: 9999px;
    transition: width 0.3s ease;
}
.mypage-skin .mp-req-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.mypage-skin .mp-req-chip {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
}
.mypage-skin .mp-req-chip.is-done {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
    font-weight: 600;
}
.mypage-skin .mp-signature {
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;
    font-style: italic;
}

/* 퀵 액션 섹션 */
.mypage-skin .mp-action-group {
    margin-bottom: 16px;
}
.mypage-skin .mp-action-group:last-child {
    margin-bottom: 0;
}
.mypage-skin .mp-group-title {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.mypage-skin .mp-action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.mypage-skin .mp-action-tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #334155;
    text-decoration: none !important;
    font-size: 12.5px;
    font-weight: 600;
    transition: all 0.15s ease;
}
.mypage-skin .mp-action-tile:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}
.mypage-skin .mp-tile-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.mypage-skin .mp-tile-icon {
    font-size: 13px;
    color: #64748b;
    width: 16px;
    text-align: center;
}
.mypage-skin .mp-tile-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 9999px;
    background: var(--op-accent, #ff490f);
    color: #ffffff;
}
.mypage-skin .mp-action-tile.tile-partner {
    grid-column: span 2;
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857;
}
.mypage-skin .mp-action-tile.tile-partner:hover {
    background: #d1fae5;
    border-color: #6ee7b7;
    color: #065f46;
}
.mypage-skin .mp-action-tile.tile-admin {
    grid-column: span 2;
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}
.mypage-skin .mp-action-tile.tile-admin:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #991b1b;
}
.mypage-skin .mp-action-tile.tile-danger {
    color: #94a3b8;
    font-weight: 500;
}
.mypage-skin .mp-action-tile.tile-danger:hover {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #ef4444;
}
.mypage-skin .mp-action-tile.tile-fav-comp:hover {
    border-color: #fda4af;
    background: #fff1f2;
    color: #e11d48;
}
.mypage-skin .mp-action-tile.tile-fav-comp .mp-tile-icon {
    color: #e11d48;
}

/* 내 정보 리스트 */
.mypage-skin .mp-info-list {
    margin-bottom: 0;
}
.mypage-skin .mp-info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12.5px;
}
.mypage-skin .mp-info-item:last-child {
    border-bottom: none;
}
.mypage-skin .mp-info-label {
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mypage-skin .mp-info-val {
    color: #0f172a;
    font-weight: 600;
}
.mypage-skin .mp-info-val a {
    color: #0f172a;
    text-decoration: none;
}
.mypage-skin .mp-info-val a:hover {
    color: var(--op-primary, #3dbf62);
}

/* 텔레그램 연동 아이템 */
.mypage-skin .mp-telegram-row {
    padding: 12px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

/* 반응형 브레이크포인트 (모바일) */
@media all and (max-width: 767px) {
    .mypage-skin .mp-profile-head {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .mypage-skin .mp-profile-title {
        justify-content: center;
    }
    .mypage-skin .mp-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mypage-skin .mp-req-chips {
        justify-content: center;
    }
    .mypage-skin .mp-action-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   Mypage Dark Mode System (html.theme-dark)
   ========================================================================== */
html.theme-dark .mypage-skin .mp-card {
    background: #1a1a20;
    border-color: #2e2e38;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
html.theme-dark .mypage-skin .mp-card-header {
    background: #22222a;
    border-color: #2e2e38;
    color: #f1f5f9;
}
html.theme-dark .mypage-skin .mp-avatar {
    background: #24242e;
    border-color: #383846;
}
html.theme-dark .mypage-skin .mp-avatar i {
    color: #64748b;
}
html.theme-dark .mypage-skin .mp-profile-nick {
    color: #f1f5f9;
}
html.theme-dark .mypage-skin .mp-badge-user {
    background: #282834;
    color: #94a3b8;
    border-color: #383848;
}
html.theme-dark .mypage-skin .mp-badge-partner {
    background: #064e3b;
    color: #6ee7b7;
    border-color: #047857;
}
html.theme-dark .mypage-skin .mp-badge-admin {
    background: #450a0a;
    color: #fca5a5;
    border-color: #7f1d1d;
}
html.theme-dark .mypage-skin .mp-stat-item {
    background: #22222a;
    border-color: #2e2e38;
}
html.theme-dark .mypage-skin .mp-stat-item:hover {
    background: #272732;
    border-color: #3e3e4e;
}
html.theme-dark .mypage-skin .mp-stat-label,
html.theme-dark .mypage-skin .mp-stat-icon,
html.theme-dark .mypage-skin .mp-stat-val small {
    color: #94a3b8;
}
html.theme-dark .mypage-skin .mp-stat-val {
    color: #f1f5f9;
}
html.theme-dark .mypage-skin .mp-level-progress-box {
    background: #22222a;
    border-color: #2e2e38;
}
html.theme-dark .mypage-skin .mp-lp-title {
    color: #cbd5e1;
}
html.theme-dark .mypage-skin .mp-progress-bar-wrap {
    background: #2e2e38;
}
html.theme-dark .mypage-skin .mp-req-chip {
    background: #1a1a20;
    border-color: #2e2e38;
    color: #94a3b8;
}
html.theme-dark .mypage-skin .mp-req-chip.is-done {
    background: #064e3b;
    border-color: #047857;
    color: #a7f3d0;
}
html.theme-dark .mypage-skin .mp-signature {
    color: #94a3b8;
}
html.theme-dark .mypage-skin .mp-group-title {
    color: #94a3b8;
}
html.theme-dark .mypage-skin .mp-action-tile {
    background: #22222a;
    border-color: #2e2e38;
    color: #cbd5e1;
}
html.theme-dark .mypage-skin .mp-action-tile:hover {
    background: #282834;
    border-color: #3e3e4e;
    color: #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
html.theme-dark .mypage-skin .mp-tile-icon {
    color: #94a3b8;
}
html.theme-dark .mypage-skin .mp-action-tile.tile-partner {
    background: #064e3b;
    border-color: #047857;
    color: #6ee7b7;
}
html.theme-dark .mypage-skin .mp-action-tile.tile-partner:hover {
    background: #065f46;
    border-color: #059669;
    color: #a7f3d0;
}
html.theme-dark .mypage-skin .mp-action-tile.tile-admin {
    background: #450a0a;
    border-color: #7f1d1d;
    color: #fca5a5;
}
html.theme-dark .mypage-skin .mp-action-tile.tile-admin:hover {
    background: #5c0f0f;
    border-color: #991b1b;
    color: #fecaca;
}
html.theme-dark .mypage-skin .mp-action-tile.tile-danger {
    color: #71717a;
}
html.theme-dark .mypage-skin .mp-action-tile.tile-danger:hover {
    background: #450a0a;
    border-color: #991b1b;
    color: #f87171;
}
html.theme-dark .mypage-skin .mp-action-tile.tile-fav-comp:hover {
    background: #2b1419;
    border-color: #f43f5e;
    color: #fda4af;
}
html.theme-dark .mypage-skin .mp-action-tile.tile-fav-comp .mp-tile-icon {
    color: #fb7185;
}
html.theme-dark .mypage-skin .mp-info-item {
    border-color: #24242e;
}
html.theme-dark .mypage-skin .mp-info-label {
    color: #94a3b8;
}
html.theme-dark .mypage-skin .mp-info-val,
html.theme-dark .mypage-skin .mp-info-val a {
    color: #f1f5f9;
}
html.theme-dark .mypage-skin .mp-telegram-row {
    background: #22222a;
    border-color: #2e2e38;
}
html.theme-dark .mypage-skin .modal-content {
    background: #1a1a20;
    border-color: #2e2e38;
    color: #f1f5f9;
}
html.theme-dark .mypage-skin .modal-header {
    border-color: #2e2e38;
}
html.theme-dark .mypage-skin .modal-footer {
    border-color: #2e2e38;
}


