.cardstyle-back-btn {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-100%, -50%);
    width: 22px;
    height: 70px;
    background: #fff;
    border-radius: 12px 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 10;
    box-shadow: -3px 0 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s;
}

.cardstyle-back-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 7px solid var(--theme-primary, #7c4dff);
    margin-right: 2px;
}

.cardstyle-back-btn:hover {
    width: 26px;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1200px) {
    .cardstyle-back-btn {
        display: none;
    }
}

@media (max-width: 1024px) {
    .cardstyle-mobile-user-hidden .yfk-user-area {
        display: none !important;
    }
}

.yfk-user-area {
    padding: 14px;
}

.yfk-guest-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.yfk-guest-btns {
    display: flex;
    gap: 8px;
    width: 80%;
}

.yfk-btn-login,
.yfk-btn-register {
    flex: 1;
    display: block;
    text-align: center;
    padding: 9px 0;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s;
    line-height: 1;
}

.yfk-btn-login {
    background: rgba(255, 255, 255, 0.92);
    color: var(--theme-primary, #7c4dff) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.yfk-btn-login:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}

.yfk-btn-register {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.yfk-btn-register:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.55);
}

.yfk-btn-only {
    border-radius: 22px !important;
}

.yfk-user-logged {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none !important;
    transition: all 0.2s;
}

.yfk-user-logged:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.yfk-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
}

.yfk-user-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.yfk-user-name {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yfk-user-hint {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.yfk-user-arrow {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.yfk-sidebar-bulletin {
    margin: 14px 14px 0;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.yfk-sidebar-bulletin-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
}

.yfk-sidebar-bulletin-header .fas {
    font-size: 11px;
    opacity: 0.75;
}

.yfk-sidebar-bulletin-body {
    padding: 10px 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    max-height: 150px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.yfk-sidebar-bulletin-body::-webkit-scrollbar {
    width: 2px;
}

.yfk-sidebar-bulletin-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.yfk-sidebar-bulletin-body a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

.yfk-sidebar-bulletin-body img {
    max-width: 100%;
    border-radius: 4px;
    margin: 4px 0;
}

.yfk-sidebar-bulletin-body p {
    margin: 0 0 4px;
}

.yfk-card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    padding: 10px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 11px;
    color: #aaa;
}

.yfk-card-footer-icp {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #bbb;
}

.yfk-card-footer-icp .fas {
    font-size: 10px;
    color: #ccc;
}

.yfk-card-footer-icp a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.2s;
}

.yfk-card-footer-icp a:hover {
    color: #888;
}

.yfk-card-footer-info {
    color: #bbb;
}

.yfk-ptr {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%, -110%);
    background: #fff;
    border-radius: 24px;
    padding: 7px 16px 7px 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.13);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #444;
    z-index: 10001;
    pointer-events: none;
    white-space: nowrap;
    will-change: transform;
}

.yfk-ptr-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--theme-primary, #7c4dff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.yfk-ptr-icon i {
    color: #fff;
    font-size: 11px;
}

.yfk-ptr.is-ready .yfk-ptr-icon {
    transform: rotate(180deg);
}

.yfk-ptr.is-refreshing .yfk-ptr-icon {
    animation: yfk-ptr-spin 0.7s linear infinite;
    transform: none;
}

@keyframes yfk-ptr-spin {
    to {
        transform: rotate(360deg);
    }
}
