.profile-page {
    position: relative;
    background: #000;
    color: #fff;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-page .back-link {
    position: fixed;
    top: .3rem;
    left: .3rem;
    width: .36rem;
    height: .36rem;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 10;
}

.profile-page .back-link:hover {
    background: rgba(255,255,255,.18);
}

.profile-page .back-link svg {
    width: .18rem;
    height: .18rem;
    color: #fff;
}

.profile-page .profile-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    width: 100%;
    max-width: 14rem;
    padding: 0 .5rem;
}

.profile-page .profile-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .14rem;
}

.profile-page .profile-avatar-wrap {
    position: relative;
    margin-bottom: .06rem;
}

.profile-page .profile-avatar {
    position: relative;
    width: 1.2rem;
    height: 1.2rem;
}

.profile-page .profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.12);
}

.profile-page .profile-avatar-edit {
    position: absolute;
    bottom: .02rem;
    right: .02rem;
    width: .3rem;
    height: .3rem;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid #000;
    transition: transform .2s;
}

.profile-page .profile-avatar-edit:hover {
    transform: scale(1.1);
}

.profile-page .profile-avatar-edit svg {
    width: .14rem;
    height: .14rem;
    color: #fff;
}

.profile-page #profileAvatarInput {
    display: none;
}

.profile-page .profile-name {
    font-size: .32rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.01em;
    line-height: 1.2;
    text-align: center;
}

.profile-page .profile-email {
    font-size: .11rem;
    color: rgba(255,255,255,.35);
    font-weight: 400;
    text-align: center;
    letter-spacing: .01em;
}

.profile-page .profile-social-icons {
    display: flex;
    align-items: center;
    gap: .1rem;
    margin-top: .04rem;
}

.profile-page .social-icon-link {
    width: .24rem;
    height: .24rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform .2s, opacity .2s;
    opacity: .85;
}

.profile-page .social-icon-link:hover {
    transform: scale(1.15);
    opacity: 1;
}

.profile-page .social-icon-link svg {
    width: .2rem;
    height: .2rem;
}

.profile-page .social-icon-link.facebook {
    color: #1877f2;
}

.profile-page .social-icon-link.instagram {
    color: #e4405f;
}

.profile-page .social-icon-link.x {
    color: #fff;
}

.profile-page .social-icon-link.unbound {
    color: #555 !important;
    opacity: .45;
    cursor: pointer;
}

.profile-page .social-icon-link.unbound:hover {
    opacity: .7;
    transform: scale(1.15);
}

.profile-page .social-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.profile-page .social-icon-edit {
    position: absolute;
    top: -.04rem;
    right: -.04rem;
    width: .12rem;
    height: .12rem;
    border-radius: 50%;
    background: rgba(34, 197, 94, .9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s;
    padding: 0;
}

.profile-page .social-icon-edit svg {
    width: .07rem;
    height: .07rem;
    color: #000;
}

.profile-page .social-icon-wrap:hover .social-icon-edit {
    opacity: 1;
}

.profile-page .social-edit-wrap {
    display: flex;
    flex-direction: column;
    gap: .12rem;
}

.profile-page .social-edit-hint {
    color: rgba(255, 255, 255, .5);
    font-size: .11rem;
    text-align: center;
    margin: 0;
}

.profile-page .social-edit-input-row {
    display: flex;
    align-items: center;
}

.profile-page .social-edit-prefix {
    padding: 0 .1rem;
    height: .4rem;
    line-height: .4rem;
    background: #222;
    border-radius: .08rem 0 0 .08rem;
    font-size: .1rem;
    color: rgba(255, 255, 255, .35);
    white-space: nowrap;
}

.profile-page .social-username-input {
    border-radius: 0 .08rem .08rem 0 !important;
    margin-bottom: 0 !important;
}

.profile-page .profile-badge {
    margin-top: .1rem;
    padding: .06rem .2rem;
    background: rgba(255,255,255,.1);
    border-radius: .2rem;
    font-size: .1rem;
    color: rgba(255,255,255,.5);
    font-weight: 500;
    letter-spacing: .02em;
    text-align: center;
    cursor: pointer;
    transition: background .3s, color .3s;
    user-select: none;
}

.profile-page .profile-badge.public {
    background: rgba(34,197,94,.15);
    color: #22c55e;
}

.profile-page .profile-badge.private {
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.35);
}

.profile-page .profile-logout-btn {
    margin-top: .1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: .3rem;
    height: .3rem;
    padding: 0;
    background: rgba(255,255,255,.1);
    border: none;
    border-radius: .2rem;
    color: rgba(255,255,255,.4);
    cursor: pointer;
    transition: background .2s, color .2s;user-select:none}
.profile-page .profile-logout-btn:hover{background:rgba(255,255,255,.15);color:#fff}
.profile-page .profile-logout-btn svg{width:.16rem;height:.16rem}
.profile-page .profile-logout-btn span{display:none}

.profile-page .profile-right {
    display: flex;
    flex-direction: column;
    gap: .24rem;
    width: 6rem;
    max-height: 80vh;
}

.profile-page .profile-quick-actions {
    display: flex;
    gap: .12rem;
}

.profile-page .quick-action-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: .12rem;
    padding: .16rem .2rem;
    border-radius: .16rem;
    cursor: pointer;
    transition: all .3s cubic-bezier(.34,1.56,.64,1);
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
}

.profile-page .quick-action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity .3s;
}

.profile-page .quick-action-card:hover {
    transform: translateY(-.03rem);
    border-color: rgba(255,255,255,.15);
}

.profile-page .quick-action-card:hover::before {
    opacity: 1;
}

.profile-page .card-yo::before {
    background: linear-gradient(135deg, rgba(34,197,94,.08), rgba(34,197,94,.02));
}

.profile-page .card-yo:hover {
    border-color: rgba(34,197,94,.3);
    box-shadow: 0 .08rem .24rem rgba(34,197,94,.1);
}

.profile-page .card-hi::before {
    background: linear-gradient(135deg, rgba(59,130,246,.08), rgba(59,130,246,.02));
}

.profile-page .card-hi:hover {
    border-color: rgba(59,130,246,.3);
    box-shadow: 0 .08rem .24rem rgba(59,130,246,.1);
}

.profile-page .card-manager::before {
    background: linear-gradient(135deg, rgba(245,158,11,.08), rgba(245,158,11,.02));
}

.profile-page .card-manager:hover {
    border-color: rgba(245,158,11,.3);
    box-shadow: 0 .08rem .24rem rgba(245,158,11,.1);
}

.profile-page .quick-action-icon {
    width: .42rem;
    height: .42rem;
    border-radius: .12rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .3s;
}

.profile-page .card-yo .quick-action-icon {
    background: linear-gradient(135deg, rgba(34,197,94,.2), rgba(34,197,94,.05));
    color: #22c55e;
}

.profile-page .card-hi .quick-action-icon {
    background: linear-gradient(135deg, rgba(59,130,246,.2), rgba(59,130,246,.05));
    color: #3b82f6;
}

.profile-page .card-manager .quick-action-icon {
    background: linear-gradient(135deg, rgba(245,158,11,.2), rgba(245,158,11,.05));
    color: #f59e0b;
}

.profile-page .quick-action-card:hover .quick-action-icon {
    transform: scale(1.1);
}

.profile-page .quick-action-icon svg {
    width: .2rem;
    height: .2rem;
}

.profile-page .quick-action-info {
    flex: 1;
    min-width: 0;
}

.profile-page .quick-action-title {
    font-size: .18rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -.01em;
}

.profile-page .quick-action-desc {
    font-size: .1rem;
    color: rgba(255,255,255,.4);
    margin-top: .02rem;
    font-weight: 400;
}

.profile-page .quick-action-arrow {
    width: .28rem;
    height: .28rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.3);
    transition: all .3s;
    flex-shrink: 0;
}

.profile-page .quick-action-card:hover .quick-action-arrow {
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.7);
    transform: translateX(.02rem);
}

.profile-page .quick-action-arrow svg {
    width: .14rem;
    height: .14rem;
}

.profile-page .profile-content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: .2rem;
    overflow: hidden;
    min-height: 0;
}

.profile-page .content-tabs {
    display: flex;
    gap: 0;
    padding: .06rem;
    background: rgba(255,255,255,.03);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.profile-page .content-tab {
    flex: 1;
    padding: .1rem .16rem;
    background: transparent;
    border: none;
    border-radius: .1rem;
    color: rgba(255,255,255,.4);
    font-size: .12rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s;
    font-family: inherit;
    position: relative;
}

.profile-page .content-tab.active {
    background: rgba(255,255,255,.08);
    color: #fff;
}

.profile-page .content-tab:hover:not(.active) {
    color: rgba(255,255,255,.7);
    background: rgba(255,255,255,.03);
}

.profile-page .content-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: .16rem .2rem .2rem;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.profile-page .content-panel.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

.profile-page .content-subtabs {
    display: flex;
    gap: .08rem;
    margin-bottom: .12rem;
    padding-bottom: .1rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
    flex-shrink: 0;
}

.profile-page .content-subtab {
    padding: .06rem .14rem;
    background: transparent;
    border: none;
    border-radius: .06rem;
    color: rgba(255,255,255,.4);
    font-size: .11rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s, color .2s;
    font-family: inherit;
}

.profile-page .content-subtab.active {
    background: rgba(255,255,255,.08);
    color: #fff;
}

.profile-page .content-list {
    display: flex;
    flex-direction: column;
    gap: .08rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.profile-page .content-list.hidden {
    display: none;
}

.profile-page .edit-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    will-change: opacity;
}

.profile-page .edit-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.profile-page .edit-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.7);
}

.profile-page .edit-modal.open .edit-modal-overlay {
    backdrop-filter: blur(8px);
}

.profile-page .edit-modal-content {
    position: relative;
    width: 90%;
    max-width: 3.6rem;
    background: rgba(20,20,20,.95);
    border-radius: .16rem;
    padding: .3rem;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 .2rem .6rem rgba(0,0,0,.5);
    transform: scale(.95);
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}

.profile-page .edit-modal.open .edit-modal-content {
    transform: scale(1);
}

.profile-page .edit-modal-header {
    font-size: .16rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: .16rem;
    text-align: center;
}

.profile-page .edit-modal-input {
    width: 100%;
    height: .4rem;
    background: #333;
    border: none;
    border-radius: .08rem;
    padding: 0 .12rem;
    font-size: .12rem;
    color: #fff;
    margin-bottom: .16rem;
    transition: box-shadow .3s;
}

.profile-page .edit-modal-input::placeholder {
    color: rgba(255,255,255,.25);
}

.profile-page .edit-modal-input:focus {
    box-shadow: 0 0 0 2px rgba(50,200,100,.4);
}

.profile-page .email-edit-wrap {
    display: flex;
    flex-direction: column;
    gap: .12rem;
}

.profile-page .email-verify-btn {
    width: 100%;
    height: .4rem;
    border: none;
    border-radius: .08rem;
    font-size: .13rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .3s, color .3s, opacity .3s;
    background: #22c55e;
    color: #000;
    opacity: 1;
}

.profile-page .email-verify-btn.disabled {
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.25);
    cursor: not-allowed;
    opacity: .6;
}

.profile-page .email-code-input {
    width: 100%;
    height: .4rem;
    background: #333;
    border: 2px solid transparent;
    border-radius: .08rem;
    padding: 0 .12rem;
    font-size: .14rem;
    color: #fff;
    text-align: center;
    letter-spacing: .06em;
    transition: border-color .3s, box-shadow .3s;
}

.profile-page .email-code-input:focus {
    outline: none;
    border-color: rgba(34,197,94,.5);
    box-shadow: 0 0 0 3px rgba(34,197,94,.15);
}

.profile-page .email-code-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,.15);
    color: #ef4444;
}

.profile-page .edit-modal-actions {
    display: flex;
    gap: .1rem;
}

.profile-page .edit-modal-btn {
    flex: 1;
    height: .4rem;
    border: none;
    border-radius: .08rem;
    font-size: .13rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .3s, color .3s;
}

.profile-page .edit-modal-btn.cancel {
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.7);
}

.profile-page .edit-modal-btn.cancel:hover {
    background: rgba(255,255,255,.15);
    color: #fff;
}

.profile-page .edit-modal-btn.save {
    background: #22c55e;
    color: #000;
}

.profile-page .edit-modal-btn.save:hover {
    background: #16a34a;
}

.profile-page .toast {
    position: fixed;
    top: .5rem;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(34,197,94,.95);
    color: #000;
    padding: .1rem .2rem;
    border-radius: .08rem;
    font-size: .12rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s cubic-bezier(.34,1.56,.64,1);
    z-index: 200;
    box-shadow: 0 .04rem .16rem rgba(0,0,0,.3);
}

.profile-page .toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.profile-page .toast.error {
    background: rgba(255,80,80,.95);
    color: #fff;
}

.profile-page .yo-menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    will-change: opacity;
}

.profile-page .yo-menu-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.profile-page .yo-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.7);
}

.profile-page .yo-menu-modal.open .yo-menu-overlay {
    backdrop-filter: blur(8px);
}

.profile-page .yo-menu-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .12rem;
    width: 90%;
    max-width: 3rem;
    transform: scale(.95);
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}

.profile-page .yo-menu-modal.open .yo-menu-content {
    transform: scale(1);
}

.profile-page .yo-menu-item {
    display: flex;
    align-items: center;
    gap: .12rem;
    width: 100%;
    padding: .18rem .24rem;
    background: rgba(20,20,20,.95);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: .14rem;
    color: #fff;
    font-size: .14rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, border-color .2s, transform .2s;
    backdrop-filter: blur(10px);
}

.profile-page .yo-menu-item:hover {
    background: rgba(34,197,94,.15);
    border-color: rgba(34,197,94,.4);
    transform: translateX(.04rem);
}

.profile-page .yo-menu-item svg {
    width: .2rem;
    height: .2rem;
    color: #22c55e;
    flex-shrink: 0;
}

.profile-page .post-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

.profile-page .post-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.profile-page .post-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.7);
}

.profile-page .post-modal.open .post-modal-overlay {
    backdrop-filter: blur(8px);
}

.profile-page .post-modal-content {
    position: relative;
    width: 90%;
    max-width: 4.8rem;
    background: rgba(20,20,20,.95);
    border-radius: .16rem;
    padding: .3rem;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 .2rem .6rem rgba(0,0,0,.5);
    transform: scale(.95);
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}

.profile-page .post-modal.open .post-modal-content {
    transform: scale(1);
}

.profile-page .post-modal-header {
    font-size: .16rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: .16rem;
    text-align: center;
}

.profile-page .post-modal-body {
    margin-bottom: .16rem;
}

.profile-page .post-modal-textarea {
    width: 100%;
    min-height: 1.6rem;
    background: #333;
    border: none;
    border-radius: .08rem;
    padding: .12rem;
    font-size: .12rem;
    color: #fff;
    resize: vertical;
    font-family: inherit;
    line-height: 1.6;
    transition: box-shadow .3s;
}

.profile-page .post-modal-textarea::placeholder {
    color: rgba(255,255,255,.25);
}

.profile-page .post-modal-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(50,200,100,.4);
}

.profile-page .post-modal-actions {
    display: flex;
    gap: .1rem;
}

.profile-page .post-modal-btn {
    flex: 1;
    height: .4rem;
    border: none;
    border-radius: .08rem;
    font-size: .13rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .3s, color .3s;
}

.profile-page .post-modal-btn.draft {
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.7);
}

.profile-page .post-modal-btn.draft:hover {
    background: rgba(255,255,255,.15);
    color: #fff;
}

.profile-page .post-modal-btn.publish {
    background: #22c55e;
    color: #000;
}

.profile-page .post-modal-btn.publish:hover {
    background: #16a34a;
}

.profile-page .fresh-editor-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    will-change: opacity;
}

.profile-page .fresh-editor-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.profile-page .fresh-editor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.65);
}

.profile-page .fresh-editor-modal.open .fresh-editor-overlay {
    backdrop-filter: blur(12px);
}

.profile-page .fresh-editor-content {
    position: relative;
    width: 92%;
    max-width: 7.2rem;
    max-height: 85vh;
    background: rgba(20,20,20,.95);
    border-radius: .16rem;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 .2rem .6rem rgba(0,0,0,.5);
    transform: scale(.95);
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.profile-page .fresh-editor-modal.open .fresh-editor-content {
    transform: scale(1);
}

.profile-page .fresh-editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .2rem .24rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    flex-shrink: 0;
}

.profile-page .fresh-editor-title {
    font-size: .15rem;
    font-weight: 600;
    color: #fff;
}

.profile-page .fresh-editor-close {
    background: none;
    border: none;
    color: rgba(255,255,255,.5);
    cursor: pointer;
    padding: .04rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .2s;
}

.profile-page .fresh-editor-close:hover {
    color: #fff;
}

.profile-page .fresh-editor-close svg {
    width: .18rem;
    height: .18rem;
}

.profile-page .fresh-editor-body {
    padding: .2rem .24rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.profile-page .fresh-editor-title-input {
    width: 100%;
    height: .44rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 0 0 .08rem 0;
    font-size: .2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .12rem;
    transition: border-color .3s;
}

.profile-page .fresh-editor-title-input::placeholder {
    color: rgba(255,255,255,.25);
}

.profile-page .fresh-editor-title-input:focus {
    outline: none;
    border-bottom-color: rgba(34,197,94,.5);
}

.profile-page .fresh-editor-toolbar {
    display: flex;
    align-items: center;
    gap: .04rem;
    padding: .08rem 0;
    margin-bottom: .08rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.profile-page .fresh-editor-tool {
    width: .32rem;
    height: .32rem;
    background: none;
    border: none;
    border-radius: .06rem;
    color: rgba(255,255,255,.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s;
    padding: 0;
}

.profile-page .fresh-editor-tool:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
}

.profile-page .fresh-editor-tool.active {
    background: rgba(34,197,94,.15);
    color: #22c55e;
}

.profile-page .fresh-editor-tool svg {
    width: .16rem;
    height: .16rem;
}

.profile-page .fresh-editor-textarea {
    width: 100%;
    min-height: 2.4rem;
    background: transparent;
    border: none;
    padding: .08rem 0;
    font-size: .13rem;
    color: rgba(255,255,255,.85);
    line-height: 1.8;
    outline: none;
    resize: none;
    font-family: inherit;
}

.profile-page .fresh-editor-textarea:empty:before {
    content: attr(placeholder);
    color: rgba(255,255,255,.25);
    pointer-events: none;
}

.profile-page .fresh-editor-textarea h2 {
    font-size: .16rem;
    font-weight: 700;
    color: #fff;
    margin: .16rem 0 .08rem 0;
    line-height: 1.4;
}

.profile-page .fresh-editor-textarea p {
    margin: 0 0 .12rem 0;
}

.profile-page .fresh-editor-textarea ul,
.profile-page .fresh-editor-textarea ol {
    margin: 0 0 .12rem 0;
    padding-left: .2rem;
}

.profile-page .fresh-editor-textarea li {
    margin-bottom: .04rem;
}

.profile-page .fresh-editor-textarea b,
.profile-page .fresh-editor-textarea strong {
    font-weight: 700;
    color: #fff;
}

.profile-page .fresh-editor-textarea i,
.profile-page .fresh-editor-textarea em {
    font-style: italic;
    color: rgba(255,255,255,.9);
}

.profile-page .fresh-editor-image-area {
    display: flex;
    flex-wrap: wrap;
    gap: .08rem;
    margin-top: .12rem;
}

.profile-page .fresh-editor-image-item {
    position: relative;
    width: calc(33.333% - .054rem);
    aspect-ratio: 16/10;
    border-radius: .08rem;
    overflow: hidden;
    background: rgba(255,255,255,.05);
}

.profile-page .fresh-editor-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-page .fresh-editor-image-remove {
    position: absolute;
    top: .04rem;
    right: .04rem;
    width: .2rem;
    height: .2rem;
    background: rgba(0,0,0,.7);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .1rem;
    transition: background .2s;
    padding: 0;
}

.profile-page .fresh-editor-image-remove:hover {
    background: rgba(255,80,80,.9);
}

.profile-page .fresh-editor-actions {
    display: flex;
    gap: .1rem;
    padding: .16rem .24rem;
    border-top: 1px solid rgba(255,255,255,.08);
    flex-shrink: 0;
}

.profile-page .fresh-editor-btn {
    flex: 1;
    height: .4rem;
    border: none;
    border-radius: .08rem;
    font-size: .13rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .3s, color .3s;
}

.profile-page .fresh-editor-btn.draft {
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.7);
}

.profile-page .fresh-editor-btn.draft:hover {
    background: rgba(255,255,255,.15);
    color: #fff;
}

.profile-page .fresh-editor-btn.publish {
    background: #22c55e;
    color: #000;
}

.profile-page .fresh-editor-btn.publish:hover {
    background: #16a34a;
}

.profile-page .action-editor-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    will-change: opacity;
}

.profile-page .action-editor-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.profile-page .action-editor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.65);
}

.profile-page .action-editor-modal.open .action-editor-overlay {
    backdrop-filter: blur(12px);
}

.profile-page .action-editor-content {
    position: relative;
    width: 90%;
    max-width: 4.2rem;
    max-height: 80vh;
    background: rgba(20,20,20,.95);
    border-radius: .16rem;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 .2rem .6rem rgba(0,0,0,.5);
    transform: scale(.95);
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.profile-page .action-editor-modal.open .action-editor-content {
    transform: scale(1);
}

.profile-page .action-editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .18rem .2rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    flex-shrink: 0;
}

.profile-page .action-editor-title {
    font-size: .15rem;
    font-weight: 600;
    color: #fff;
}

.profile-page .action-editor-close {
    background: none;
    border: none;
    color: rgba(255,255,255,.5);
    cursor: pointer;
    padding: .04rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .2s;
}

.profile-page .action-editor-close:hover {
    color: #fff;
}

.profile-page .action-editor-close svg {
    width: .18rem;
    height: .18rem;
}

.profile-page .action-editor-body {
    padding: .16rem .2rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.profile-page .action-editor-user-row {
    display: flex;
    align-items: center;
    gap: .1rem;
    margin-bottom: .12rem;
}

.profile-page .action-editor-avatar {
    width: .36rem;
    height: .36rem;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,.1);
}

.profile-page .action-editor-username {
    font-size: .13rem;
    font-weight: 600;
    color: #fff;
}

.profile-page .action-editor-textarea {
    width: 100%;
    min-height: .8rem;
    background: transparent;
    border: none;
    padding: .04rem 0;
    font-size: .14rem;
    color: #fff;
    line-height: 1.5;
    resize: none;
    font-family: inherit;
    outline: none;
}

.profile-page .action-editor-textarea::placeholder {
    color: rgba(255,255,255,.25);
}

.profile-page .action-editor-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .06rem;
    margin: .1rem 0;
}

.profile-page .action-editor-image-grid.single {
    grid-template-columns: 1fr;
}

.profile-page .action-editor-image-grid.double {
    grid-template-columns: repeat(2, 1fr);
}

.profile-page .action-editor-image-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: .08rem;
    overflow: hidden;
    background: rgba(255,255,255,.05);
}

.profile-page .action-editor-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-page .action-editor-image-remove {
    position: absolute;
    top: .04rem;
    right: .04rem;
    width: .2rem;
    height: .2rem;
    background: rgba(0,0,0,.7);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .1rem;
    transition: background .2s;
    padding: 0;
}

.profile-page .action-editor-image-remove:hover {
    background: rgba(255,80,80,.9);
}

.profile-page .action-editor-tools {
    display: flex;
    align-items: center;
    gap: .12rem;
    padding: .1rem 0;
    border-top: 1px solid rgba(255,255,255,.06);
    margin-top: .04rem;
}

.profile-page .action-editor-tool {
    display: flex;
    align-items: center;
    gap: .04rem;
    background: none;
    border: none;
    color: rgba(255,255,255,.4);
    font-size: .11rem;
    cursor: pointer;
    padding: .04rem .06rem;
    border-radius: .04rem;
    transition: color .2s, background .2s;
}

.profile-page .action-editor-tool:hover {
    color: #22c55e;
    background: rgba(34,197,94,.08);
}

.profile-page .action-editor-tool svg {
    width: .16rem;
    height: .16rem;
}

.profile-page .action-editor-actions {
    display: flex;
    gap: .1rem;
    padding: .14rem .2rem;
    border-top: 1px solid rgba(255,255,255,.08);
    flex-shrink: 0;
}

.profile-page .action-editor-btn {
    flex: 1;
    height: .38rem;
    border: none;
    border-radius: .08rem;
    font-size: .13rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .3s, color .3s;
}

.profile-page .action-editor-btn.draft {
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.7);
}

.profile-page .action-editor-btn.draft:hover {
    background: rgba(255,255,255,.15);
    color: #fff;
}

.profile-page .action-editor-btn.publish {
    background: #3b82f6;
    color: #fff;
}

.profile-page .action-editor-btn.publish:hover {
    background: #2563eb;
}



.profile-page .article-item,
.profile-page .like-item,
.profile-page .action-item {
    padding: .12rem .14rem;
    background: rgba(255,255,255,.03);
    border-radius: .1rem;
    border: 1px solid rgba(255,255,255,.05);
    transition: all .2s;
    cursor: pointer;
}

.profile-page .article-item:hover,
.profile-page .like-item:hover,
.profile-page .action-item:hover {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.1);
    transform: translateX(.02rem);
}

.profile-page .article-item-title,
.profile-page .like-item-title {
    font-size: .13rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: .04rem;
    line-height: 1.4;
}

.profile-page .article-item-meta,
.profile-page .like-item-meta,
.profile-page .action-item-meta {
    font-size: .1rem;
    color: rgba(255,255,255,.35);
    margin-bottom: .08rem;
}

.profile-page .article-item-actions,
.profile-page .action-item-actions {
    display: flex;
    gap: .06rem;
}

.profile-page .article-item-btn,
.profile-page .action-item-btn {
    padding: .05rem .1rem;
    background: rgba(255,255,255,.08);
    border: none;
    border-radius: .06rem;
    color: rgba(255,255,255,.6);
    font-size: .1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s, color .2s;
    font-family: inherit;
}

.profile-page .article-item-btn:hover,
.profile-page .action-item-btn:hover {
    background: rgba(255,255,255,.15);
    color: #fff;
}

.profile-page .article-item-btn.delete,
.profile-page .action-item-btn.delete {
    background: rgba(239,68,68,.15);
    color: rgba(239,68,68,.8);
}

.profile-page .article-item-btn.delete:hover,
.profile-page .action-item-btn.delete:hover {
    background: rgba(239,68,68,.3);
    color: #ef4444;
}

.profile-page .article-item-btn.preview {
    background: rgba(59,130,246,.15);
    color: rgba(96,165,250,.8);
}

.profile-page .article-item-btn.preview:hover {
    background: rgba(59,130,246,.3);
    color: #60a5fa;
}

.profile-page .article-item-btn.send {
    background: rgba(34,197,94,.15);
    color: rgba(74,222,128,.8);
}

.profile-page .article-item-btn.send:hover {
    background: rgba(34,197,94,.3);
    color: #4ade80;
}

.profile-page .action-item-content {
    font-size: .12rem;
    color: rgba(255,255,255,.8);
    line-height: 1.5;
    margin-bottom: .06rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.profile-page .empty-state {
    text-align: center;
    padding: .3rem;
    color: rgba(255,255,255,.25);
    font-size: .12rem;
}

.profile-page .preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

.profile-page .preview-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.profile-page .preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(12px);
}

.profile-page .preview-content {
    position: relative;
    width: 90%;
    max-width: 6rem;
    max-height: 80vh;
    background: rgba(20,20,20,.95);
    border-radius: .16rem;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 .2rem .6rem rgba(0,0,0,.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(.95);
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}

.profile-page .preview-modal.open .preview-content {
    transform: scale(1);
}

.profile-page .preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .18rem .2rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    flex-shrink: 0;
}

.profile-page .preview-title {
    font-size: .15rem;
    font-weight: 600;
    color: #fff;
}

.profile-page .preview-close {
    background: none;
    border: none;
    color: rgba(255,255,255,.5);
    cursor: pointer;
    padding: .04rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .2s;
}

.profile-page .preview-close:hover {
    color: #fff;
}

.profile-page .preview-close svg {
    width: .18rem;
    height: .18rem;
}

.profile-page .preview-body {
    padding: .2rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.profile-page .preview-article-title {
    font-size: .18rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .12rem;
    line-height: 1.4;
}

.profile-page .preview-article-body {
    font-size: .12rem;
    color: rgba(255,255,255,.8);
    line-height: 1.8;
}

.profile-page .preview-article-images {
    display: flex;
    flex-wrap: wrap;
    gap: .08rem;
    margin-top: .12rem;
}

.profile-page .preview-article-images img {
    width: calc(33.333% - .054rem);
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: .08rem;
}

.profile-page .preview-actions {
    display: flex;
    gap: .08rem;
    padding: .14rem .2rem;
    border-top: 1px solid rgba(255,255,255,.08);
    flex-shrink: 0;
}

.profile-page .preview-email-input {
    flex: 1;
    height: .36rem;
    background: #333;
    border: none;
    border-radius: .08rem;
    padding: 0 .12rem;
    font-size: .12rem;
    color: #fff;
    font-family: inherit;
}

.profile-page .preview-email-input::placeholder {
    color: rgba(255,255,255,.25);
}

.profile-page .preview-send-btn {
    padding: 0 .16rem;
    height: .36rem;
    background: #22c55e;
    border: none;
    border-radius: .08rem;
    color: #000;
    font-size: .12rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    font-family: inherit;
    white-space: nowrap;
}

.profile-page .preview-send-btn:hover {
    background: #16a34a;
}

.profile-page .confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 130;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

.profile-page .confirm-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.profile-page .confirm-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(8px);
}

.profile-page .confirm-content {
    position: relative;
    width: 90%;
    max-width: 3.6rem;
    background: rgba(20,20,20,.95);
    border-radius: .16rem;
    padding: .3rem;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 .2rem .6rem rgba(0,0,0,.5);
    transform: scale(.95);
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}

.profile-page .confirm-modal.open .confirm-content {
    transform: scale(1);
}

.profile-page .confirm-header {
    font-size: .16rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: .12rem;
    text-align: center;
}

.profile-page .confirm-body {
    font-size: .13rem;
    color: rgba(255,255,255,.7);
    text-align: center;
    margin-bottom: .2rem;
    line-height: 1.5;
}
