.mypage-wrap {
    min-height: 100vh;
    padding: 120px 24px 80px;
    max-width: 720px;
    margin: 0 auto;
}
.mypage-header {
    margin-bottom: 36px;
}
.mypage-sub {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--cyan);
    text-transform: uppercase;
    margin-bottom: 6px;
}
.mypage-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}
.mypage-section {
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 20px;
}
.section-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--cyan);
    text-transform: uppercase;
    margin-bottom: 20px;
}
.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.info-row:last-child { border-bottom: none; }
.info-label {
    font-size: 0.82rem;
    color: #6a8aaa;
    font-weight: 500;
}
.info-value {
    font-size: 0.9rem;
    color: #e0eaf4;
    font-weight: 500;
}
.plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00b4cc22, #00b4cc44);
    border: 1px solid var(--cyan);
    color: var(--cyan);
}
.plan-badge.none {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.15);
    color: #6a8aaa;
}
.plan-upgrade-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, #00b4cc, #0099aa);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.2s;
}
.plan-upgrade-btn:hover { opacity: 0.85; }
.pw-section-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.pw-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pw-label {
    font-size: 0.8rem;
    color: #a0b8cc;
    font-weight: 500;
}
.pw-input-wrap { position: relative; }
.pw-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 12px 44px 12px 16px;
    font-size: 0.92rem;
    color: #fff;
    font-family: 'Noto Sans KR', sans-serif;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.pw-input::placeholder { color: #4a6070; }
.pw-input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0,229,255,0.12);
}
.pw-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #6a8aaa;
    padding: 4px;
    display: flex;
    align-items: center;
}
.pw-toggle:hover { color: #a0b8cc; }
.pw-save-btn {
    align-self: flex-start;
    padding: 11px 28px;
    background: linear-gradient(135deg, #00b4cc, #0099aa);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
}
.pw-save-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.pw-save-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.pw-error {
    font-size: 0.78rem;
    color: #fa5757;
    display: none;
}
.pw-error.show { display: block; }
.logout-btn {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 1px solid rgba(250,87,87,0.4);
    border-radius: 10px;
    color: #fa5757;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.logout-btn:hover {
    background: rgba(250,87,87,0.08);
    border-color: #fa5757;
}
.cancel-sub-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid rgba(250,87,87,0.45);
    border-radius: 8px;
    color: #fa5757;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.cancel-sub-btn:hover {
    background: rgba(250,87,87,0.09);
    border-color: #fa5757;
}
.cancel-sub-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.loading-state {
    text-align: center;
    padding: 60px 0;
    color: #6a8aaa;
    font-size: 0.9rem;
}
.tv-notice-banner {
    background: rgba(240, 165, 0, 0.08);
    border: 1px solid rgba(240, 165, 0, 0.35);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 24px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.tv-notice-banner.show { display: flex; }
.tv-notice-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.tv-notice-icon { flex-shrink: 0; color: #f0a500; }
.tv-notice-text {
    font-size: 0.875rem;
    color: #f0c060;
    line-height: 1.5;
}
.tv-notice-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: #f0a500;
    text-decoration: underline;
    cursor: pointer;
    white-space: nowrap;
    background: none;
    border: none;
    font-family: inherit;
    padding: 0;
}
.tv-notice-link:hover { color: #ffbe40; }
.tv-notice-close {
    background: none;
    border: none;
    color: #f0a500;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
    opacity: 0.6;
    flex-shrink: 0;
}
.tv-notice-close:hover { opacity: 1; }
.expiry-warn-banner {
    background: rgba(250, 87, 87, 0.08);
    border: 1px solid rgba(250, 87, 87, 0.35);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 24px;
    display: none;
    align-items: center;
    gap: 10px;
}
.expiry-warn-banner.show { display: flex; }
.expiry-warn-icon { flex-shrink: 0; color: #fa5757; }
.expiry-warn-text { font-size: 0.875rem; color: #f08080; line-height: 1.5; flex: 1; }
.expiry-warn-text strong { color: #fa7070; font-weight: 700; }

/* 마스킹 토글 */
.info-value-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.info-reveal-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #4a6a88;
    padding: 2px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: color 0.15s;
}
.info-reveal-btn:hover { color: #c0d4e4; }

@media (max-width: 480px) {
    .mypage-section { padding: 20px 18px; }
    .mypage-title { font-size: 1.7rem; }
    .tv-notice-text { font-size: 0.82rem; }
}

/* Accordion */
.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
}
.accordion-header .section-title { margin-bottom: 0; }
.accordion-chevron {
    color: #4a8aaa;
    transition: transform 0.25s;
    flex-shrink: 0;
}
.accordion-header[aria-expanded="true"] .accordion-chevron { transform: rotate(180deg); }
.accordion-body { display: none; padding-top: 20px; }
.accordion-body.open { display: block; }

/* TV ID first-input notice */
.tv-first-notice {
    padding: 18px 0 4px;
    font-size: 0.83rem;
    color: #a0b8cc;
    line-height: 1.65;
    text-align: center;
}

/* Plan action button */
.plan-action-btn {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.2s;
    border: none;
}
.plan-action-btn.buy, .plan-action-btn.upgrade {
    background: linear-gradient(135deg, #00b4cc, #0099aa);
    color: #fff;
}
.plan-action-btn.pro-active {
    background: linear-gradient(135deg, rgba(91,45,232,0.18), rgba(91,45,232,0.38));
    border: 1px solid #5b2de8;
    color: #c0a0ff;
}
.plan-action-btn:hover { opacity: 0.85; }
.plan-action-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.plan-btn-row {
    display: flex;
    gap: 10px;
    padding: 14px 0 4px;
    flex-wrap: wrap;
    align-items: center;
}
.plan-manage-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    color: #a0b8cc;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.plan-manage-btn:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.3);
    color: #c0d4e4;
}
.plan-manage-btn.open {
    border-color: rgba(0,180,204,0.45);
    color: var(--cyan);
}
.plan-manage-section {
    margin-top: 6px;
    padding: 18px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
}
